-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
52 lines (48 loc) · 992 Bytes
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// swift-tools-version:5.3
import PackageDescription
var targets: [Target] = [
.target(
name: "Cubby",
dependencies: [
"Emissary",
"Skewer",
"Identity",
"IPAddress"
]
)
]
#if swift(>=5.5)
targets.append(
.testTarget(
name: "CubbyTests",
dependencies: ["Cubby"],
resources: [
.process("API/JSONBin/V2/API/Fixtures"),
.process("API/JSONBin/V3/API/Fixtures"),
.process("Models/Fixtures")
]
)
)
#endif
let package = Package(
name: "Cubby",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.watchOS(.v6),
.tvOS(.v13)
],
products: [
.library(
name: "Cubby",
targets: ["Cubby"]
)
],
dependencies: [
.package(url: "https://github.com/Fleuronic/Emissary", from: "0.4.0"),
.package(url: "https://github.com/Fleuronic/Skewer", from: "3.0.0"),
.package(url: "https://github.com/JohnSundell/Identity", from: "0.1.0"),
.package(name: "IPAddress", url: "https://github.com/vkill/SwiftIPAddress", .branch("master"))
],
targets: targets
)