mirror of
https://github.com/mas-cli/mas
synced 2024-11-23 03:53:09 +00:00
30 lines
751 B
Swift
30 lines
751 B
Swift
// swift-tools-version:4.2
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Nimble",
|
|
products: [
|
|
.library(name: "Nimble", targets: ["Nimble"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", .exact("1.2.0")),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Nimble",
|
|
dependencies: {
|
|
#if os(macOS)
|
|
return ["CwlPreconditionTesting"]
|
|
#else
|
|
return []
|
|
#endif
|
|
}()
|
|
),
|
|
.testTarget(
|
|
name: "NimbleTests",
|
|
dependencies: ["Nimble"],
|
|
exclude: ["objc"]
|
|
),
|
|
],
|
|
swiftLanguageVersions: [.v4_2]
|
|
)
|