-
Notifications
You must be signed in to change notification settings - Fork 18
/
Package.swift
26 lines (24 loc) · 1.08 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
// swift-tools-version:5.0
// Managed by ice
import PackageDescription
let package = Package(
name: "Genesis",
products: [
.executable(name: "genesis", targets: ["Genesis"]),
.library(name: "GenesisKit", targets: ["GenesisKit"]),
],
dependencies: [
.package(url: "https://github.com/SwiftGen/StencilSwiftKit", from: "2.10.0"),
.package(url: "https://github.com/jpsim/Yams", from: "5.0.0"),
.package(url: "https://github.com/kylef/PathKit", from: "1.0.1"),
.package(url: "https://github.com/onevcat/Rainbow", from: "4.0.1"),
.package(url: "https://github.com/jakeheis/SwiftCLI", from: "6.0.3"),
],
targets: [
.target(name: "Genesis", dependencies: ["GenesisCLI"]),
.target(name: "GenesisCLI", dependencies: ["GenesisKit", "SwiftCLI"]),
.target(name: "GenesisKit", dependencies: ["SwiftCLI", "StencilSwiftKit", "Yams", "PathKit", "Rainbow"]),
.testTarget(name: "GenesisCLITests", dependencies: ["GenesisCLI"]),
.testTarget(name: "GenesisKitTests", dependencies: ["GenesisKit"]),
]
)