Add monitoring dependency

This commit is contained in:
Christoph Hagen 2023-01-11 18:18:59 +01:00
parent 721abecb1c
commit 08b34cfff9

View File

@ -4,14 +4,18 @@ import PackageDescription
let package = Package( let package = Package(
name: "Caps-Server", name: "Caps-Server",
platforms: [ platforms: [
.macOS(.v10_15) .macOS(.v12)
], ],
dependencies: [ dependencies: [
.package(url: "https://github.com/vapor/vapor", from: "4.0.0"), .package(url: "https://github.com/vapor/vapor", from: "4.0.0"),
.package(url: "https://github.com/christophhagen/Clairvoyant", from: "0.1.0"),
], ],
targets: [ targets: [
.target(name: "App", .target(name: "App",
dependencies: [.product(name: "Vapor", package: "vapor")], dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "Clairvoyant", package: "Clairvoyant"),
],
swiftSettings: [ swiftSettings: [
// Enable better optimizations when building in Release configuration. Despite the use of // Enable better optimizations when building in Release configuration. Despite the use of
// the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release // the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release