-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
40 lines (38 loc) · 1.15 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "ReactantUI",
products: [
.executable(
name: "reactant-ui",
targets: ["reactant-ui"]),
.library(
name: "Common",
targets: ["Common"]),
.library(
name: "Tokenizer",
targets: ["Tokenizer"]),
.library(
name: "Generator",
targets: ["Generator"])
],
dependencies: [
.package(url: "https://github.com/tadija/AEXML.git", .upToNextMajor(from: "4.0.0")),
.package(url: "https://github.com/tuist/XcodeProj.git", .upToNextMajor(from: "7.0.0")),
.package(url: "https://github.com/jakeheis/SwiftCLI", from: "5.3.3")
],
targets: [
.target(
name: "Common",
dependencies: []),
.target(
name: "Tokenizer",
dependencies: ["Common"]),
.target(
name: "Generator",
dependencies: ["Tokenizer", "XcodeProj", "SwiftCLI", "AEXML"]),
.target(
name: "reactant-ui",
dependencies: ["Tokenizer", "Generator"])
]
)