forked from SwiftGen/SwiftGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
46 lines (45 loc) · 1.52 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:4.2
import PackageDescription
let package = Package(
name: "SwiftGen",
products: [
.executable(name: "swiftgen", targets: ["SwiftGen"]),
.library(name: "SwiftGenKit", targets: ["SwiftGenKit"]),
],
dependencies: [
.package(url: "https://github.com/kylef/Commander.git", from: "0.8.0"),
.package(url: "https://github.com/kylef/PathKit.git", from: "0.9.0"),
.package(url: "https://github.com/kylef/Stencil.git", from: "0.13.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "1.0.0"),
.package(url: "https://github.com/SwiftGen/StencilSwiftKit.git", from: "2.7.0"),
.package(url: "https://github.com/tid-kijyun/Kanna.git", from: "4.0.0"),
.package(url: "https://github.com/tid-kijyun/SwiftClibxml2.git", from: "1.0.0")
],
targets: [
.target(name: "SwiftGen", dependencies: [
"Commander",
"Kanna",
"PathKit",
"Stencil",
"StencilSwiftKit",
"SwiftGenKit",
"Yams"
]),
.target(name: "SwiftGenKit", dependencies: [
"Kanna",
"PathKit",
"Yams"
]),
.testTarget(name: "SwiftGenKitTests", dependencies: [
"SwiftGenKit"
]),
.testTarget(name: "SwiftGenTests", dependencies: [
"SwiftGen"
]),
.testTarget(name: "TemplatesTests", dependencies: [
"StencilSwiftKit",
"SwiftGenKit"
])
],
swiftLanguageVersions: [.v4_2]
)