forked from hhru/FigmaGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
executable file
·46 lines (45 loc) · 1.41 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "FigmaGen",
platforms: [
.macOS(.v10_12)
],
products: [
.executable(
name: "figmagen",
targets: ["FigmaGen"]
)
],
dependencies: [
.package(url: "https://github.com/jakeheis/SwiftCLI", from: "5.0.0"),
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "2.0.0"),
.package(url: "https://github.com/kylef/PathKit.git", from: "0.9.2"),
.package(url: "https://github.com/kylef/Stencil.git", from: "0.13.0"),
.package(url: "https://github.com/SwiftGen/StencilSwiftKit.git", from: "2.7.2"),
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.0.0-rc.2"),
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.8.0")
],
targets: [
.target(
name: "FigmaGen",
dependencies: [
"SwiftCLI",
"Rainbow",
"Yams",
"PathKit",
"Stencil",
"StencilSwiftKit",
"Alamofire",
"PromiseKit"
],
path: "Sources"
),
.testTarget(
name: "FigmaGenTests",
dependencies: ["FigmaGen"],
path: "Tests"
)
]
)