-
Notifications
You must be signed in to change notification settings - Fork 123
/
Package.swift
23 lines (21 loc) · 910 Bytes
/
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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "Mint",
products: [
.executable(name: "mint", targets: ["Mint"]),
.library(name: "MintKit", targets: ["MintKit"]),
],
dependencies: [
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.1"),
.package(url: "https://github.com/onevcat/Rainbow.git", from: "4.0.1"),
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.3"),
.package(url: "https://github.com/mxcl/Version.git", from: "2.0.1")
],
targets: [
.executableTarget(name: "Mint", dependencies: ["MintCLI"]),
.target(name: "MintCLI", dependencies: ["Rainbow", "SwiftCLI", "MintKit"]),
.target(name: "MintKit", dependencies: ["Rainbow", "PathKit", "Version", "SwiftCLI"]),
.testTarget(name: "MintTests", dependencies: ["MintKit"]),
]
)