Add SwiftyGPIO

This commit is contained in:
Piv
2020-05-08 18:26:05 +09:30
parent 98dc0395e3
commit 9c810f2731
2 changed files with 12 additions and 2 deletions

View File

@@ -11,7 +11,8 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.0.0-alpha.11")
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.0.0-alpha.11"),
.package(url: "https://github.com/uraimo/SwiftyGPIO.git", from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -21,7 +22,7 @@ let package = Package(
dependencies: [.product(name: "GRPC", package: "grpc-swift")]),
.target(
name: "SwiftyCar",
dependencies: ["Generated"]),
dependencies: ["Generated", "SwiftyGPIO"]),
.testTarget(
name: "SwiftyCarTests",
dependencies: ["SwiftyCar"]),