-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
41 lines (39 loc) · 1.51 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
41
// swift-tools-version:5.4
import PackageDescription
let package = Package(
name: "MicroSwitch",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(name: "mswitch", targets: ["MicroSwitch"]),
.executable(name: "mclient", targets: ["MicroClient"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.1"),
.package(url: "https://github.com/apple/swift-log", from: "1.4.2"),
.package(url: "https://github.com/grpc/grpc-swift", from: "1.5.0"),
.package(url: "https://github.com/JohnSundell/Files", from: "4.2.0"),
.package(url: "https://github.com/kylebrowning/APNSwift", from: "3.2.0")
],
targets: [
.executableTarget(
name: "MicroSwitch",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Logging", package: "swift-log"),
.product(name: "GRPC", package: "grpc-swift"),
.product(name: "Files", package: "Files"),
.product(name: "APNSwift", package: "APNSwift")
]),
.executableTarget(
name: "MicroClient",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "GRPC", package: "grpc-swift")
]),
.testTarget(
name: "MicroSwitchTests",
dependencies: ["MicroSwitch"]),
]
)