-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
33 lines (31 loc) · 1.06 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
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "FestoModbus",
platforms: [.macOS(.v11)],
products: [
.library(name: "FestoModbus", targets: ["FestoModbus"]),
],
dependencies: [
.package(url: "https://github.com/DimaRU/SwiftyModbus.git", from: "2.0.0"),
.package(url: "https://github.com/mxcl/PromiseKit.git", .upToNextMajor(from: "6.16.2")),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/DimaRU/swift-log-syslog.git", branch: "master"),
],
targets: [
.target(
name: "FestoModbus",
dependencies: [
"SwiftyModbus",
"PromiseKit",
.product(name: "Logging", package: "swift-log"),
]),
.testTarget(
name: "FestoModbusTests",
dependencies: [
"FestoModbus",
"PromiseKit",
.product(name: "LoggingSyslog", package: "swift-log-syslog"),
]),
]
)