forked from FlineDev/BartyCrouch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
56 lines (55 loc) · 2.16 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
48
49
50
51
52
53
54
55
56
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "BartyCrouch",
platforms: [.macOS(.v10_15)],
products: [
.executable(name: "bartycrouch", targets: ["BartyCrouch"]),
.library(name: "BartyCrouchKit", targets: ["BartyCrouchKit"]),
.library(name: "BartyCrouchTranslator", targets: ["BartyCrouchTranslator"]),
],
dependencies: [
.package(name: "HandySwift", url: "https://github.com/Flinesoft/HandySwift.git", from: "3.2.0"),
.package(name: "Microya", url: "https://github.com/Flinesoft/Microya.git", .branch("main")),
.package(name: "MungoHealer", url: "https://github.com/JamitLabs/MungoHealer.git", from: "0.3.2"),
.package(name: "Rainbow", url: "https://github.com/onevcat/Rainbow.git", from: "3.1.5"),
.package(name: "SwiftCLI", url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.1"),
.package(name: "Toml", url: "https://github.com/jdfergason/swift-toml.git", .branch("master")),
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50300.0")),
],
targets: [
.target(
name: "BartyCrouch",
dependencies: ["BartyCrouchKit"],
path: "Sources/BartyCrouch"
),
.target(
name: "BartyCrouchKit",
dependencies: [
"BartyCrouchTranslator",
"HandySwift",
"MungoHealer",
"Rainbow",
"SwiftCLI",
"SwiftSyntax",
"Toml",
],
path: "Sources/BartyCrouchKit"
),
.testTarget(
name: "BartyCrouchKitTests",
dependencies: ["BartyCrouchKit", "Toml"],
path: "Tests/BartyCrouchKitTests"
),
.target(
name: "BartyCrouchTranslator",
dependencies: ["HandySwift", "Microya", "MungoHealer"],
path: "Sources/BartyCrouchTranslator"
),
.testTarget(
name: "BartyCrouchTranslatorTests",
dependencies: ["BartyCrouchTranslator"],
path: "Tests/BartyCrouchTranslatorTests"
)
]
)