mas/Carthage/Checkouts/Nimble/Package@swift-4.2.swift

31 lines
751 B
Swift
Raw Normal View History

// 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]
)