-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
44 lines (39 loc) · 1.5 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
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Slurp",
products: [
.library(name: "Slurp", targets: ["Slurp"]),
.library(name: "SlurpXCTools", targets: ["SlurpXCTools"])
],
dependencies: [
.package(url: "https://github.com/ReactiveX/RxSwift.git", .exact(.init(4, 1, 2))),
.package(url: "https://github.com/kylef/PathKit.git", .exact(.init(0, 9, 0))),
.package(url: "https://github.com/bitwit/Marathon.git", .branch("slurp-0.1.0")),
.package(url: "https://github.com/nsomar/Guaka.git", .exact(.init(0, 1, 3))),
// Testing
.package(url: "https://github.com/Quick/Quick.git", .exact(.init(1, 2, 0))),
.package(url: "https://github.com/Quick/Nimble.git", .exact(.init(7, 0, 3)))
],
targets: [
.target(
name: "SlurpCLI",
dependencies: ["MarathonCore", "Guaka", "Slurp"]),
.target(
name: "Slurp",
dependencies: ["RxSwift", "PathKit", "MarathonCore"]),
.target(
name: "SlurpXCTools",
dependencies: ["Slurp", "RxSwift", "PathKit"]),
.testTarget(
name: "SlurpTests",
dependencies: ["Quick", "Nimble", "Slurp"]
),
// Example
.target(
name: "ExampleSlurpTasks",
dependencies: ["Slurp", "SlurpXCTools"],
path: "ExampleTasks")
]
)