forked from Carthage/Carthage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
48 lines (47 loc) · 1.98 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
48
// swift-tools-version:4.2
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: "4.1.0"),
.package(url: "https://github.com/Carthage/ReactiveTask.git", from: "0.16.0"),
.package(url: "https://github.com/Carthage/Commandant.git", from: "0.16.0"),
.package(url: "https://github.com/jdhealy/PrettyColors.git", from: "5.0.2"),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "5.0.0"),
.package(url: "https://github.com/mdiep/Tentacle.git", from: "0.13.1"),
.package(url: "https://github.com/thoughtbot/Curry.git", from: "4.0.2"),
.package(url: "https://github.com/Quick/Quick.git", from: "2.1.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "8.0.1"),
.package(url: "https://github.com/apple/swift-package-manager.git", .revision("swift-DEVELOPMENT-SNAPSHOT-2019-03-04-a")),
],
targets: [
.target(
name: "XCDBLD",
dependencies: ["Result", "ReactiveSwift", "ReactiveTask"]
),
.testTarget(
name: "XCDBLDTests",
dependencies: ["XCDBLD", "Quick", "Nimble"]
),
.target(
name: "CarthageKit",
dependencies: ["XCDBLD", "Tentacle", "Curry", "SwiftPM-auto"]
),
.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: [.v4_2]
)