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: [
|
2020-11-18 10:29:56 +00:00
|
|
|
.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")),
|
2022-02-12 22:44:35 +00:00
|
|
|
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.0.0")),
|
2023-06-06 15:19:11 +00:00
|
|
|
.package(url: "https://github.com/ZipArchive/ZipArchive.git", .upToNextMinor(from: "2.4.3")),
|
|
|
|
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.3.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",
|
2024-09-23 09:23:29 +00:00
|
|
|
dependencies: ["secp256k1", "CryptoSwift", "ZipArchive", "BigInt"],
|
|
|
|
swiftSettings: [.define("USE_SPM")]),
|
2019-07-03 00:55:44 +00:00
|
|
|
.testTarget(
|
|
|
|
name: "KeycardTests",
|
|
|
|
dependencies: ["Keycard"]),
|
|
|
|
]
|
|
|
|
)
|