2022-10-08 11:46:52 +02:00
|
|
|
// swift-tools-version:5.7
|
2020-12-30 10:54:13 +01:00
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "MakeColors",
|
|
|
|
platforms: [
|
2020-12-31 19:31:42 +01:00
|
|
|
.macOS("10.15.4"),
|
2020-12-30 10:54:13 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.3.1")),
|
2022-10-08 11:46:52 +02:00
|
|
|
.package(url: "https://github.com/robb/RBBJSON", branch: "main"),
|
2020-12-30 10:54:13 +01:00
|
|
|
],
|
|
|
|
targets: [
|
2022-10-08 11:46:52 +02:00
|
|
|
.executableTarget(
|
2020-12-30 10:54:13 +01:00
|
|
|
name: "MakeColors",
|
|
|
|
dependencies: [
|
|
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
2020-12-30 12:53:40 +01:00
|
|
|
]
|
|
|
|
),
|
2020-12-30 10:54:13 +01:00
|
|
|
.testTarget(
|
|
|
|
name: "MakeColorsTests",
|
2021-01-02 22:03:41 +01:00
|
|
|
dependencies: [
|
2022-10-08 11:46:52 +02:00
|
|
|
"MakeColors",
|
2021-01-02 22:03:41 +01:00
|
|
|
.product(name: "RBBJSON", package: "RBBJSON"),
|
|
|
|
]
|
2020-12-30 12:53:40 +01:00
|
|
|
),
|
2020-12-30 10:54:13 +01:00
|
|
|
]
|
|
|
|
)
|