forked from scribd/Weaver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
28 lines (27 loc) · 1.26 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "Weaver",
platforms: [
.macOS(.v10_13)
],
products: [
.executable(name: "Weaver", targets: ["WeaverMain"])
],
dependencies: [
.package(url: "https://github.com/jpsim/SourceKitten.git", from: "0.27.0"),
.package(url: "https://github.com/kylef/Commander.git", from: "0.9.0"),
.package(url: "https://github.com/onevcat/Rainbow", 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.0"),
.package(url: "https://github.com/scribd/Meta.git", .branch("master")),
.package(url: "https://github.com/JohnSundell/ShellOut.git", from: "2.2.0")
],
targets: [
.target(name: "WeaverCodeGen", dependencies: ["SourceKittenFramework", "Meta", "PathKit"]),
.testTarget(name: "WeaverCodeGenTests", dependencies: ["WeaverCodeGen"]),
.target(name: "WeaverCommand", dependencies: ["PathKit", "Commander", "Rainbow", "Yams", "WeaverCodeGen", "ShellOut"]),
.testTarget(name: "WeaverCommandTests", dependencies: ["WeaverCommand"]),
.target(name: "WeaverMain", dependencies: ["WeaverCommand"])
]
)