-
Notifications
You must be signed in to change notification settings - Fork 235
23 lines (21 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "FengNiao",
products: [
.executable(name: "FengNiao", targets: ["FengNiao"]),
.library(name: "FengNiaoKit", targets: ["FengNiaoKit"])
],
dependencies: [
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.1.1"),
.package(url: "https://github.com/benoit-pereira-da-silva/CommandLine.git", from: "4.0.0"),
.package(url: "https://github.com/kylef/Spectre.git", from: "0.10.1"),
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.1")
],
targets: [
.target(name: "FengNiaoKit", dependencies: ["Rainbow", "PathKit"]),
.target(name: "FengNiao", dependencies: ["FengNiaoKit", "CommandLineKit"]),
.testTarget(name: "FengNiaoKitTests", dependencies: ["FengNiaoKit", "Spectre"], exclude: ["../Fixtures"]),
],
swiftLanguageVersions: [.v4, .v4_2]
)