forked from paylike/swift-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
31 lines (29 loc) · 1.03 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "PaylikeEngine",
platforms: [.macOS(.v10_15), .iOS(.v13)],
products: [
.library(name: "PaylikeEngine", targets: ["PaylikeEngine"]),
],
dependencies: [
.package(url: "https://github.com/paylike/swift-luhn", .upToNextMajor(from: "0.2.0")),
.package(url: "https://github.com/paylike/swift-client", .upToNextMajor(from: "0.2.0")),
.package(url: "https://github.com/httpswift/swifter", .upToNextMajor(from: "1.5.0"))
],
targets: [
.target(
name: "PaylikeEngine",
dependencies: [
.product(name: "PaylikeLuhn", package: "swift-luhn"),
.product(name: "PaylikeClient", package: "swift-client")
]),
.testTarget(
name: "PaylikeEngineTests",
dependencies: [
"PaylikeEngine",
.product(name: "Swifter", package: "swifter")
]),
],
swiftLanguageVersions: [.v5]
)