37 lines
738 B
Swift
37 lines
738 B
Swift
// swift-tools-version:5.5
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Buildkite",
|
|
platforms: [
|
|
.iOS(.v13),
|
|
.macOS(.v10_15),
|
|
.tvOS(.v13),
|
|
.watchOS(.v6),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Buildkite",
|
|
targets: ["Buildkite"]
|
|
)
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Buildkite",
|
|
dependencies: []
|
|
),
|
|
.testTarget(
|
|
name: "BuildkiteTests",
|
|
dependencies: ["Buildkite"]
|
|
),
|
|
]
|
|
)
|
|
|
|
#if swift(>=5.6)
|
|
// Add the documentation compiler plugin if possible
|
|
package.dependencies.append(
|
|
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
|
|
)
|
|
#endif
|