Use swift package manager

This commit is contained in:
Victor Bodinaud
2020-03-01 02:07:13 +01:00
parent 963a9b074a
commit 5c83114197
9 changed files with 94 additions and 6 deletions

22
Blockchain/Package.swift Normal file
View File

@@ -0,0 +1,22 @@
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Blockchain",
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, 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: []),
.testTarget(
name: "BlockchainTests",
dependencies: ["Blockchain"]),
]
)