MakeColors/Package.swift

37 lines
1,010 B
Swift
Raw Normal View History

2020-12-30 10:54:13 +01:00
// swift-tools-version:5.3
// 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")),
2021-01-02 22:03:41 +01:00
.package(url: "https://github.com/robb/RBBJSON", .branch("main")),
2020-12-30 10:54:13 +01:00
],
targets: [
.target(
name: "MakeColors",
dependencies: [
2020-12-30 12:53:40 +01:00
"LibMakeColors",
]
),
2020-12-30 10:54:13 +01:00
.target(
name: "LibMakeColors",
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: [
"LibMakeColors",
.product(name: "RBBJSON", package: "RBBJSON"),
]
2020-12-30 12:53:40 +01:00
),
2020-12-30 10:54:13 +01:00
]
)