2023-11-04 21:37:44 +03:00
|
|
|
// swift-tools-version:5.7
|
2022-06-16 16:26:39 +03:00
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Ignore",
|
2023-11-04 21:37:44 +03:00
|
|
|
platforms: [.macOS(.v13)],
|
2022-06-16 16:26:39 +03:00
|
|
|
products: [
|
|
|
|
.library(name: "Ignore", targets: ["Ignore"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
2022-11-03 18:16:36 +03:00
|
|
|
.package(url: "https://github.com/qvacua/misc.swift", exact: "0.2.0"),
|
2023-11-05 00:01:01 +03:00
|
|
|
.package(url: "https://github.com/Quick/Nimble", from: "13.0.0"),
|
2022-06-16 16:26:39 +03:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(name: "Ignore", dependencies: [.product(name: "WildmatchC", package: "misc.swift")]),
|
|
|
|
.testTarget(
|
|
|
|
name: "IgnoreTests",
|
|
|
|
dependencies: ["Ignore", "Nimble"],
|
|
|
|
resources: [.copy("Resources")]
|
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|