MakeColors/Package.swift

30 lines
875 B
Swift

// swift-tools-version:5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "MakeColors",
platforms: [
.macOS("12.0"),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.1.4")),
.package(url: "https://github.com/robb/RBBJSON", branch: "main"),
],
targets: [
.executableTarget(
name: "MakeColors",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
.testTarget(
name: "MakeColorsTests",
dependencies: [
"MakeColors",
.product(name: "RBBJSON", package: "RBBJSON"),
]
),
]
)