2021-02-22 16:30:56 +08:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
2018-05-19 01:10:46 +08:00
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
2021-02-22 16:30:56 +08:00
|
|
|
name: "VIZ",
|
2018-05-19 01:10:46 +08:00
|
|
|
products: [
|
2021-02-22 16:30:56 +08:00
|
|
|
.library(name: "VIZ", targets: ["VIZ"]),
|
2018-05-19 01:10:46 +08:00
|
|
|
],
|
2018-05-22 23:00:58 +08:00
|
|
|
dependencies: [
|
2018-05-27 06:49:35 +08:00
|
|
|
.package(url: "https://github.com/Flight-School/AnyCodable.git", .revision("396ccc3dba5bdee04c1e742e7fab40582861401e")),
|
2018-10-01 23:46:09 +08:00
|
|
|
.package(url: "https://github.com/lukaskubanek/OrderedDictionary.git", .branch("master")),
|
2018-05-22 23:00:58 +08:00
|
|
|
],
|
2018-05-19 01:10:46 +08:00
|
|
|
targets: [
|
|
|
|
.target(
|
2018-05-22 23:00:58 +08:00
|
|
|
name: "Crypto",
|
2018-05-22 18:12:22 +08:00
|
|
|
dependencies: []
|
|
|
|
),
|
2018-06-06 19:26:36 +08:00
|
|
|
.target(
|
|
|
|
name: "secp256k1",
|
|
|
|
dependencies: []
|
|
|
|
),
|
2018-05-22 23:00:58 +08:00
|
|
|
.target(
|
2021-02-22 16:30:56 +08:00
|
|
|
name: "VIZ",
|
2018-06-06 19:26:36 +08:00
|
|
|
dependencies: ["Crypto", "AnyCodable", "OrderedDictionary", "secp256k1"]
|
2018-05-22 23:00:58 +08:00
|
|
|
),
|
2018-05-19 01:10:46 +08:00
|
|
|
.testTarget(
|
2021-02-22 16:30:56 +08:00
|
|
|
name: "UnitTests",
|
|
|
|
dependencies: ["VIZ"]
|
2018-05-22 18:12:22 +08:00
|
|
|
),
|
2018-05-21 16:10:18 +08:00
|
|
|
.testTarget(
|
2021-02-22 16:30:56 +08:00
|
|
|
name: "IntegrationTests",
|
|
|
|
dependencies: ["VIZ"]
|
2018-05-22 18:12:22 +08:00
|
|
|
),
|
2018-05-19 01:10:46 +08:00
|
|
|
]
|
|
|
|
)
|