This repository was archived by the owner on Dec 29, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathPackage.swift
More file actions
53 lines (51 loc) · 1.3 KB
/
Package.swift
File metadata and controls
53 lines (51 loc) · 1.3 KB
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
53
// swift-tools-version:4.0
import PackageDescription
/// The SwiftKit Package
let package = Package(
name: "SwiftKit",
products: [
// The swiftkit executable
.executable(
name: "swiftkit",
targets: ["SwiftKitCLI"]
),
/// The SwiftKit Framework
.library(
name: "SwiftKit",
targets: ["SwiftKit"]
)
],
dependencies: [
// xcodeproj Dependency
.package(url: "https://github.com/tuist/xcodeproj.git", .exact("8.3.1")),
// SwiftCLI Dependency
.package(url: "https://github.com/jakeheis/SwiftCLI.git", .exact("6.0.3")),
// Motor Dependency
.package(url: "https://github.com/flintbox/Motor.git", .exact("0.1.2"))
],
targets: [
// SwiftKit Target
.target(
name: "SwiftKit",
dependencies: [
"XcodeProj"
]
),
// SwiftKitCLI Target
.target(
name: "SwiftKitCLI",
dependencies: [
"SwiftKit",
"SwiftCLI",
"Motor"
]
),
// SwiftKitTests Target
.testTarget(
name: "SwiftKitTests",
dependencies: [
"SwiftKit"
]
)
]
)