-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
30 lines (28 loc) · 921 Bytes
/
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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "SwiftPrompt",
products: [
.executable(name: "swift_prompt", targets: ["SwiftPrompt"]),
.executable(name: "swift_prompt_nanny", targets: ["SwiftPromptNanny"]),
],
dependencies: [
.package(url: "https://github.com/hanjoes/swift-termina", from: "1.0.0"),
.package(url: "https://github.com/hanjoes/swift-git", from: "2.0.0"),
.package(url: "https://github.com/hanjoes/swift-daemon", from: "1.0.0"),
],
targets: [
.target(
name: "SwiftPrompt",
dependencies: ["TerminaLib", "SwiftPromptLib"]
),
.target(
name: "SwiftPromptNanny",
dependencies: ["SwiftPromptLib", "SwiftDaemonLib"]
),
.target(
name: "SwiftPromptLib",
dependencies: ["SwiftGitLib"]
),
]
)