34 lines
930 B
Swift
34 lines
930 B
Swift
// swift-tools-version: 6.3
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
|
|
name: "SwiftRunnerTesting",
|
|
platforms: [
|
|
.macOS(.v14)
|
|
],
|
|
products: [
|
|
.executable(name: "SwiftRunnerTesting", targets: ["SwiftRunnerTesting"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/swiftlang/swift-testing", branch: "main"),
|
|
.package(url: "https://github.com/onevcat/Rainbow", .upToNextMajor(from: "4.0.0"))
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "SwiftRunnerTesting",
|
|
dependencies: ["Rainbow"]
|
|
),
|
|
.testTarget(
|
|
name: "SwiftRunnerTestingTests",
|
|
dependencies: [
|
|
"SwiftRunnerTesting",
|
|
.product(name: "Testing", package: "swift-testing")
|
|
],
|
|
),
|
|
],
|
|
swiftLanguageModes: [.v6]
|
|
)
|