Keycard.swift/Package.swift

33 lines
1.2 KiB
Swift
Raw Normal View History

2019-09-03 07:34:13 +00:00
// swift-tools-version:5.1
2019-07-03 00:55:44 +00:00
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Keycard",
2019-09-03 07:34:13 +00:00
platforms: [
.iOS(.v10)
2019-09-03 07:34:13 +00:00
],
2019-07-03 00:55:44 +00:00
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "Keycard",
targets: ["Keycard"]),
],
dependencies: [
2019-09-30 14:25:30 +00:00
.package(url: "https://github.com/status-im/secp256k1.swift.git", .branch("master")),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.0.0")),
2022-06-15 07:31:50 +00:00
.package(url: "https://github.com/marmelroy/Zip.git", .upToNextMinor(from: "2.1.0"))
2019-07-03 00:55:44 +00:00
],
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: "Keycard",
dependencies: ["secp256k1", "CryptoSwift", "Zip"]),
2019-07-03 00:55:44 +00:00
.testTarget(
name: "KeycardTests",
dependencies: ["Keycard"]),
]
)