-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
58 lines (56 loc) · 1.38 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
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "Builder",
platforms: [
.macOS(.v13)
],
dependencies: [
.package(url: "https://github.com/jpsim/Yams.git", from: "5.1.2")
],
targets: [
.target(
name: "Logger",
path: "Sources/Builder/Helpers",
sources: ["Logger.swift"]
),
.target(
name: "KeychainHelper",
dependencies: ["Logger"],
path: "Sources/Builder/Keychain",
sources: ["KeychainHelper.swift"]
),
.executableTarget(
name: "Builder",
dependencies: [
"Yams",
"Logger",
"KeychainHelper",
],
path: "Sources/Builder",
exclude: ["Tests"],
sources: [
"Commands/BuildCommand.swift",
"Commands/CommitCommand.swift",
"Commands/DocgenCommand.swift",
"Commands/StartCommand.swift",
"Helpers/BuildInfo.swift",
"Helpers/Command.swift",
"Helpers/Config.swift",
"Helpers/Helper.swift",
"main.swift",
],
resources: [
// Deklariere ungenutzte Dateien explizit als Ressourcen
.process("Keychain/KeychainHelper.swift"),
.process("Helpers/Logger.swift"),
]
),
.testTarget(
name: "BuilderTests",
dependencies: ["Builder"],
path: "Sources/Tests/BuilderTests",
sources: ["BuilderTests.swift"]
),
]
)