forked from Carthage/Carthage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
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.12.0"),
.package(url: "https://github.com/jdhealy/PrettyColors.git", from: "5.0.0"),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "3.0.0"),
.package(url: "https://github.com/mdiep/Tentacle.git", from: "0.11.0"),
.package(url: "https://github.com/thoughtbot/Curry.git", from: "3.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "1.2.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "7.0.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]
)