forked from FlineDev/BartyCrouch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
78 lines (76 loc) · 2.66 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// swift-tools-version:5.4
import PackageDescription
let package = Package(
name: "BartyCrouch",
platforms: [.macOS(.v10_15)],
products: [
.executable(name: "bartycrouch", targets: ["BartyCrouch"]),
.library(name: "BartyCrouchConfiguration", targets: ["BartyCrouchConfiguration"]),
.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("support/without-combine")),
.package(name: "MungoHealer", url: "https://github.com/Flinesoft/MungoHealer.git", from: "0.3.4"),
.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.3"),
.package(name: "Toml", url: "https://github.com/jdfergason/swift-toml.git", .branch("master")),
.package(url: "https://github.com/apple/swift-syntax.git", from: "508.0.0"),
// A collection of tools for debugging, diffing, and testing your application's data structures.
.package(url: "https://github.com/pointfreeco/swift-custom-dump.git", from: "0.3.0"),
],
targets: [
.executableTarget(
name: "BartyCrouch",
dependencies: ["BartyCrouchKit"]
),
.target(
name: "BartyCrouchKit",
dependencies: [
"BartyCrouchConfiguration",
"BartyCrouchTranslator",
"HandySwift",
"MungoHealer",
"Rainbow",
"SwiftCLI",
.product(name: "SwiftSyntaxParser", package: "swift-syntax"),
.product(name: "SwiftSyntax", package: "swift-syntax"),
"BartyCrouchUtility",
]
),
.testTarget(
name: "BartyCrouchKitTests",
dependencies: ["BartyCrouchKit"]
),
.target(
name: "BartyCrouchConfiguration",
dependencies: [
"MungoHealer",
"Toml",
"BartyCrouchUtility",
]
),
.testTarget(
name: "BartyCrouchConfigurationTests",
dependencies: [
"BartyCrouchConfiguration",
.product(name: "CustomDump", package: "swift-custom-dump"),
"Toml",
]
),
.target(
name: "BartyCrouchTranslator",
dependencies: ["HandySwift", "Microya", "MungoHealer"]
),
.testTarget(
name: "BartyCrouchTranslatorTests",
dependencies: ["BartyCrouchTranslator"],
exclude: ["Secrets/secrets.json.sample"],
resources: [
.copy("Secrets/secrets.json")
]
),
.target(name: "BartyCrouchUtility"),
]
)