forked from yonaskolb/XcodeGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
93 lines (91 loc) · 2.95 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "XcodeGen",
platforms: [.macOS(.v10_13)],
products: [
.executable(name: "xcodegen", targets: ["XcodeGen"]),
.library(name: "XcodeGenKit", targets: ["XcodeGenKit"]),
.library(name: "ProjectSpec", targets: ["ProjectSpec"]),
],
dependencies: [
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.1"),
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.0"),
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "4.2.0"),
.package(url: "https://github.com/kylef/Spectre.git", from: "0.9.2"),
.package(url: "https://github.com/onevcat/Rainbow.git", from: "4.0.0"),
.package(url: "https://github.com/tuist/XcodeProj.git", exact: "8.16.0"),
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.3"),
.package(url: "https://github.com/mxcl/Version", from: "2.0.0"),
.package(url: "https://github.com/freddi-kit/ArtifactBundleGen", exact: "0.0.6")
],
targets: [
.executableTarget(name: "XcodeGen", dependencies: [
"XcodeGenCLI",
"Version",
]),
.target(name: "XcodeGenCLI", dependencies: [
"XcodeGenKit",
"ProjectSpec",
"SwiftCLI",
"Rainbow",
"PathKit",
"Version",
]),
.target(name: "XcodeGenKit", dependencies: [
"ProjectSpec",
"JSONUtilities",
"XcodeProj",
"PathKit",
"XcodeGenCore",
], resources: [
.copy("SettingPresets")
]),
.target(name: "ProjectSpec", dependencies: [
"JSONUtilities",
"XcodeProj",
"Yams",
"XcodeGenCore",
"Version",
]),
.target(name: "XcodeGenCore", dependencies: [
"PathKit",
"Yams",
]),
.target(name: "TestSupport", dependencies: [
"XcodeProj",
"Spectre",
"PathKit",
]),
.testTarget(name: "XcodeGenKitTests", dependencies: [
"XcodeGenKit",
"Spectre",
"PathKit",
"TestSupport",
]),
.testTarget(name: "FixtureTests", dependencies: [
"XcodeGenKit",
"Spectre",
"PathKit",
"TestSupport",
]),
.testTarget(name: "XcodeGenCoreTests", dependencies: [
"XcodeGenCore",
"Spectre",
"PathKit",
"TestSupport",
]),
.testTarget(name: "ProjectSpecTests", dependencies: [
"ProjectSpec",
"Spectre",
"PathKit",
"TestSupport",
]),
.testTarget(name: "PerformanceTests", dependencies: [
"XcodeGenKit",
"Spectre",
"PathKit",
"TestSupport",
]),
]
)