-
Notifications
You must be signed in to change notification settings - Fork 243
Expand file tree
/
Copy pathPackage.swift
More file actions
29 lines (27 loc) · 1.04 KB
/
Package.swift
File metadata and controls
29 lines (27 loc) · 1.04 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
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "FengNiao",
platforms: [.macOS(.v10_13)],
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/apple/swift-argument-parser.git", from: "1.4.0"),
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.1")
],
targets: [
.target(name: "FengNiaoKit", dependencies: ["Rainbow", "PathKit"]),
.executableTarget(
name: "FengNiao",
dependencies: [
"FengNiaoKit",
.product(name: "ArgumentParser", package: "swift-argument-parser")
]
),
.testTarget(name: "FengNiaoKitTests", dependencies: ["FengNiaoKit"], exclude: ["../Fixtures"]),
.testTarget(name: "FengNiaoCLITests", dependencies: ["FengNiao"])
]
)