From 08b34cfff9734651a1e8bcbf2e3e1fc32c9ee7d7 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Wed, 11 Jan 2023 18:18:59 +0100 Subject: [PATCH] Add monitoring dependency --- Package.swift | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 10bbf64..ceaa481 100755 --- a/Package.swift +++ b/Package.swift @@ -4,14 +4,18 @@ import PackageDescription let package = Package( name: "Caps-Server", platforms: [ - .macOS(.v10_15) + .macOS(.v12) ], dependencies: [ .package(url: "https://github.com/vapor/vapor", from: "4.0.0"), + .package(url: "https://github.com/christophhagen/Clairvoyant", from: "0.1.0"), ], targets: [ .target(name: "App", - dependencies: [.product(name: "Vapor", package: "vapor")], + dependencies: [ + .product(name: "Vapor", package: "vapor"), + .product(name: "Clairvoyant", package: "Clairvoyant"), + ], swiftSettings: [ // Enable better optimizations when building in Release configuration. Despite the use of // the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release