forked from FlineDev/BartyCrouch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
56 lines (55 loc) · 2.14 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.0
import PackageDescription
let package = Package(
name: "BartyCrouch",
platforms: [.macOS(.v10_12)],
products: [
.executable(name: "bartycrouch", targets: ["BartyCrouch"]),
.library(name: "BartyCrouchKit", targets: ["BartyCrouchKit"]),
.library(name: "BartyCrouchTranslator", targets: ["BartyCrouchTranslator"])
],
dependencies: [
.package(url: "https://github.com/Flinesoft/HandySwift.git", .upToNextMajor(from: "2.6.0")),
.package(url: "https://github.com/Flinesoft/Microya.git", .upToNextMajor(from: "0.1.1")),
.package(url: "https://github.com/JamitLabs/MungoHealer.git", .upToNextMajor(from: "0.3.0")),
.package(url: "https://github.com/onevcat/Rainbow.git", .upToNextMajor(from: "3.1.4")),
.package(url: "https://github.com/jakeheis/SwiftCLI.git", .upToNextMajor(from: "5.2.0")),
.package(url: "https://github.com/jdfergason/swift-toml.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-syntax.git", .exact("0.50000.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", "SwiftSyntax"],
path: "Tests/BartyCrouchKitTests"
),
.target(
name: "BartyCrouchTranslator",
dependencies: ["HandySwift", "Microya", "MungoHealer"],
path: "Sources/BartyCrouchTranslator"
),
.testTarget(
name: "BartyCrouchTranslatorTests",
dependencies: ["BartyCrouchTranslator"],
path: "Tests/BartyCrouchTranslatorTests"
)
]
)