-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
40 lines (36 loc) · 1.27 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "CommandShell",
platforms: [
.macOS(.v10_13), .iOS(.v12),
],
products: [
.library(name: "CommandShell", targets: ["CommandShell"]),
.executable(name: "CommandShellExample", targets: ["CommandShellExample"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.2.0"),
.package(url: "https://github.com/elegantchaos/Logger.git", from: "1.5.5"),
.package(url: "https://github.com/elegantchaos/SemanticVersion.git", from: "1.1.1"),
.package(url: "https://github.com/elegantchaos/XCTestExtensions.git", from: "1.1.2"),
],
targets: [
.target(
name: "CommandShell",
dependencies: [
"Logger",
"SemanticVersion",
.product(name: "ArgumentParser", package: "swift-argument-parser")
]),
.target(
name: "CommandShellExample",
dependencies: [
"CommandShell",
"SemanticVersion",
]),
.testTarget(
name: "CommandShellTests",
dependencies: ["CommandShell", "CommandShellExample", "XCTestExtensions"]),
]
)