forked from yonaskolb/XcodeGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
92 lines (90 loc) · 2.86 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
// swift-tools-version:5.0
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.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "2.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.0"),
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
.package(url: "https://github.com/tuist/XcodeProj.git", .exact("7.10.0")),
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.0"),
.package(url: "https://github.com/mxcl/Version", from: "2.0.0"),
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", from: "0.1.0"),
],
targets: [
.target(name: "XcodeGen", dependencies: [
"XcodeGenCLI",
"Version",
]),
.target(name: "XcodeGenCLI", dependencies: [
"XcodeGenKit",
"ProjectSpec",
"SwiftCLI",
"Rainbow",
"PathKit",
"Version",
]),
.target(name: "XcodeGenKit", dependencies: [
"ProjectSpec",
"JSONUtilities",
"XcodeProj",
"PathKit",
"Core",
"GraphViz",
]),
.target(name: "ProjectSpec", dependencies: [
"JSONUtilities",
"XcodeProj",
"Yams",
"Core",
"Version",
]),
.target(name: "Core", 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: "CoreTests", dependencies: [
"Core",
"Spectre",
"PathKit",
"TestSupport",
]),
.testTarget(name: "ProjectSpecTests", dependencies: [
"ProjectSpec",
"Spectre",
"PathKit",
"TestSupport",
]),
.testTarget(name: "PerformanceTests", dependencies: [
"XcodeGenKit",
"Spectre",
"PathKit",
"TestSupport",
]),
]
)