-
Notifications
You must be signed in to change notification settings - Fork 6
/
Package.swift
35 lines (34 loc) · 1.46 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "swift-template",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(name: "swift-template-cli", targets: ["SwiftTemplateCli"]),
.library(name: "SwiftTemplate", targets: ["SwiftTemplate"]),
],
dependencies: [
.package(url: "https://github.com/vapor/console-kit", from: "4.1.0"),
.package(url: "https://github.com/binarybirds/path-kit", from: "1.0.0"),
.package(url: "https://github.com/binarybirds/shell-kit", from: "1.0.0"),
.package(url: "https://github.com/binarybirds/git-kit", from: "1.0.0"),
.package(url: "https://github.com/binarybirds/build-kit", from: "1.0.0"),
.package(url: "https://github.com/binarybirds/plural-kit.git", from: "1.0.0"),
],
targets: [
.target(name: "SwiftTemplateCli", dependencies: [
.product(name: "ConsoleKit", package: "console-kit"),
.target(name: "SwiftTemplate")
]),
.target(name: "SwiftTemplate", dependencies: [
.product(name: "PathKit", package: "path-kit"),
.product(name: "ShellKit", package: "shell-kit"),
.product(name: "GitKit", package: "git-kit"),
.product(name: "BuildKit", package: "build-kit"),
.product(name: "PluralKit", package: "plural-kit"),
]),
.testTarget(name: "SwiftTemplateTests", dependencies: ["SwiftTemplate"]),
]
)