Update packageManager & add CryptoSwift

This commit is contained in:
vbodinaud
2020-03-01 03:06:01 +01:00
parent 52ea558811
commit b8847bd8a9
4 changed files with 29 additions and 3 deletions

View File

@@ -8,15 +8,16 @@ 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/krzyzanowskim/CryptoSwift.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.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "Blockchain",
dependencies: []),
dependencies: ["CryptoSwift"]),
.testTarget(
name: "BlockchainTests",
dependencies: ["Blockchain"]),
dependencies: ["Blockchain", "CryptoSwift"]),
]
)