-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathPackage.swift
27 lines (25 loc) · 1.19 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
// swift-tools-version:5.1
// Managed by ice
import PackageDescription
let package = Package(
name: "Ice",
products: [
.executable(name: "ice", targets: ["Ice"]),
.library(name: "IceKit", targets: ["IceKit"]),
],
dependencies: [
.package(url: "https://github.com/jakeheis/Icebox", from: "0.0.6"),
.package(url: "https://github.com/kylef/PathKit", from: "1.0.0"),
.package(url: "https://github.com/onevcat/Rainbow", from: "3.1.1"),
.package(url: "https://github.com/jakeheis/SwiftCLI", from: "6.0.1"),
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable", from: "0.9.0"),
],
targets: [
.target(name: "Ice", dependencies: ["IceCLI"]),
.target(name: "IceCLI", dependencies: ["IceKit", "PathKit", "Rainbow", "SwiftCLI", "SwiftyTextTable"]),
.target(name: "IceKit", dependencies: ["PathKit", "Rainbow", "SwiftCLI"]),
.target(name: "TestingUtilities", dependencies: ["Icebox"]),
.testTarget(name: "IceKitTests", dependencies: ["IceKit", "Icebox", "PathKit", "SwiftCLI", "TestingUtilities"]),
.testTarget(name: "IceTests", dependencies: ["Icebox", "Rainbow", "TestingUtilities"]),
]
)