-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
51 lines (49 loc) · 1.63 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "ReactantUI",
products: [
.executable(
name: "hyperdrive",
targets: ["hyperdrive-cli"]),
],
dependencies: [
.package(url: "https://github.com/tadija/AEXML.git", .upToNextMinor(from: "4.4.0")),
.package(url: "https://github.com/tuist/xcodeproj.git", .upToNextMajor(from: "7.5.0")),
.package(url: "https://github.com/jakeheis/SwiftCLI", from: "5.2.2"),
],
targets: [
.target(
name: "SwiftCodeGen",
dependencies: [],
path: "Interface/Sources/SwiftCodeGen",
swiftSettings: [
.define("GeneratingInterface"),
]),
.target(
name: "Common",
dependencies: [],
path: "Interface/Sources/Common",
swiftSettings: [
.define("GeneratingInterface"),
]),
.target(
name: "Tokenizer",
dependencies: ["Common", "SwiftCodeGen"],
path: "Interface/Sources/Tokenizer",
swiftSettings: [
.define("GeneratingInterface"),
]),
.target(
name: "Generator",
dependencies: ["Tokenizer", "XcodeProj", "SwiftCLI", "AEXML", "SwiftCodeGen"],
path: "Interface/Sources/Generator",
swiftSettings: [
.define("GeneratingInterface"),
]),
.target(
name: "hyperdrive-cli",
dependencies: ["Tokenizer", "Generator", "SwiftCodeGen"],
path: "CLI/Sources/hyperdrive")
]
)