-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathPackage.swift
47 lines (43 loc) · 1.71 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "Rugby",
platforms: [.macOS(.v13)],
products: [
.executable(name: "rugby", targets: ["Rugby"]),
.library(name: "RugbyFoundation", targets: ["RugbyFoundation"])
],
dependencies: [
// rugby
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
// RugbyFoundation
.package(url: "https://github.com/onevcat/Rainbow", from: "4.0.1"),
.package(url: "https://github.com/tuist/XcodeProj", from: "8.20.0"),
.package(url: "https://github.com/kareman/SwiftShell", from: "5.1.0"),
.package(url: "https://github.com/tuist/xcbeautify", from: "1.6.0"),
.package(url: "https://github.com/jpsim/Yams", from: "5.0.6"),
.package(url: "https://github.com/weichsel/ZIPFoundation", from: "0.9.19"),
.package(url: "https://github.com/swiftyfinch/Fish", from: "0.1.2"),
.package(url: "https://github.com/OlehKulykov/PLzmaSDK", from: "1.4.2")
],
targets: [
// rugby
.executableTarget(name: "Rugby", dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"RugbyFoundation"
]),
.testTarget(name: "RugbyTests", dependencies: ["Rugby"]),
// RugbyFoundation
.target(name: "RugbyFoundation", dependencies: [
"Rainbow",
"XcodeProj",
"SwiftShell",
.product(name: "XcbeautifyLib", package: "xcbeautify"),
"Yams",
"ZIPFoundation",
"Fish",
"PLzmaSDK"
]),
.testTarget(name: "FoundationTests", dependencies: ["RugbyFoundation"])
]
)