forked from Carthage/Carthage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
47 lines (46 loc) · 1.84 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "Carthage",
products: [
.library(name: "XCDBLD", targets: ["XCDBLD"]),
.library(name: "CarthageKit", targets: ["CarthageKit"]),
.executable(name: "carthage", targets: ["carthage"]),
],
dependencies: [
.package(url: "https://github.com/antitypical/Result.git", from: "3.2.1"),
.package(url: "https://github.com/Carthage/ReactiveTask.git", from: "0.14.0"),
.package(url: "https://github.com/Carthage/Commandant.git", from: "0.14.0"),
.package(url: "https://github.com/jdhealy/PrettyColors.git", from: "5.0.0"),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "3.1.0"),
.package(url: "https://github.com/mdiep/Tentacle.git", from: "0.11.0"),
.package(url: "https://github.com/thoughtbot/Curry.git", from: "4.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "1.3.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "7.1.2"),
],
targets: [
.target(
name: "XCDBLD",
dependencies: ["Result", "ReactiveSwift", "ReactiveTask"]
),
.testTarget(
name: "XCDBLDTests",
dependencies: ["XCDBLD", "Quick", "Nimble"]
),
.target(
name: "CarthageKit",
dependencies: ["XCDBLD", "Tentacle", "Curry"]
),
.testTarget(
name: "CarthageKitTests",
dependencies: ["CarthageKit", "Quick", "Nimble"],
exclude: ["Resources/FakeOldObjc.framework"]
),
.target(
name: "carthage",
dependencies: ["XCDBLD", "CarthageKit", "Commandant", "Curry", "PrettyColors"],
exclude: ["swift-is-crashy.c"]
),
],
swiftLanguageVersions: [4]
)