35 lines
880 B
Swift
35 lines
880 B
Swift
|
// swift-tools-version:5.10
|
||
|
import PackageDescription
|
||
|
|
||
|
let package = Package(
|
||
|
name: "DNSUpdater",
|
||
|
platforms: [
|
||
|
.macOS(.v13)
|
||
|
],
|
||
|
dependencies: [
|
||
|
.package(url: "https://github.com/vapor/vapor.git", from: "4.92.4"),
|
||
|
],
|
||
|
targets: [
|
||
|
.executableTarget(
|
||
|
name: "App",
|
||
|
dependencies: [
|
||
|
.product(name: "Vapor", package: "vapor"),
|
||
|
],
|
||
|
swiftSettings: swiftSettings
|
||
|
),
|
||
|
.testTarget(
|
||
|
name: "AppTests",
|
||
|
dependencies: [
|
||
|
.target(name: "App"),
|
||
|
.product(name: "XCTVapor", package: "vapor"),
|
||
|
],
|
||
|
swiftSettings: swiftSettings
|
||
|
)
|
||
|
]
|
||
|
)
|
||
|
|
||
|
var swiftSettings: [SwiftSetting] { [
|
||
|
.enableUpcomingFeature("DisableOutwardActorInference"),
|
||
|
.enableExperimentalFeature("StrictConcurrency"),
|
||
|
] }
|