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

@@ -63,6 +63,15 @@
"revision": "7790acf0a81d08429cb20375bf42a8c7d279c5fe", "revision": "7790acf0a81d08429cb20375bf42a8c7d279c5fe",
"version": "1.8.0" "version": "1.8.0"
} }
},
{
"package": "SwiftyGPIO",
"repositoryURL": "https://github.com/uraimo/SwiftyGPIO.git",
"state": {
"branch": null,
"revision": "4127ff9dd5c6aa8acb6be34b7ce2af2f6e0b942d",
"version": "1.1.14"
}
} }
] ]
}, },

View File

@@ -11,7 +11,8 @@ let package = Package(
dependencies: [ dependencies: [
// Dependencies declare other packages that this package depends on. // Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"), // .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: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite. // 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")]), dependencies: [.product(name: "GRPC", package: "grpc-swift")]),
.target( .target(
name: "SwiftyCar", name: "SwiftyCar",
dependencies: ["Generated"]), dependencies: ["Generated", "SwiftyGPIO"]),
.testTarget( .testTarget(
name: "SwiftyCarTests", name: "SwiftyCarTests",
dependencies: ["SwiftyCar"]), dependencies: ["SwiftyCar"]),