Something went wrong. Try again.
Something went wrong. Try again.
effem-AppView Package.swift
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283// swift-tools-version:6.4import PackageDescription
let package = Package( name: "AppView", platforms: [.macOS(.v26)], products: [ .executable(name: "effem-appview", targets: ["App"]), ], dependencies: [ .package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.27.1"), .package(url: "https://github.com/hummingbird-project/hummingbird-auth.git", from: "2.5.0"), .package(url: "https://github.com/hummingbird-project/hummingbird-websocket.git", from: "2.8.1"), .package(url: "https://github.com/hummingbird-project/swift-websocket.git", from: "1.6.2"), .package(url: "https://github.com/apple/swift-configuration.git", from: "1.2.2", traits: [.defaults, "CommandLineArguments"]), .package(url: "https://github.com/vapor/postgres-nio.git", from: "1.33.1"), .package(url: "https://github.com/apple/swift-log.git", from: "1.6.0"), .package(url: "https://github.com/apple/swift-metrics.git", from: "2.12.0"), .package(url: "https://github.com/swift-server/swift-prometheus.git", from: "2.3.0"), .package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.12.1"), .package(url: "https://github.com/swift-server-community/APNSwift.git", from: "7.0.2"), .package(url: "https://github.com/thecoolwinter/CBOR.git", from: "1.1.2"), .package(url: "https://github.com/apple/swift-crypto.git", "4.1.0"..<"6.0.0"), // .package(path: "../../../CoreATProtocol"),// .package(path: "../../PodcastIndexKit"),// .package(path: "../../EffemKit"), .package(url: "https://tangled.org/@sparrowtek.com/CoreATProtocol", branch: "main"), .package(url: "https://github.com/SparrowTek/PodcastIndexKit", branch: "main"), .package(url: "https://tangled.org/sparrowtek.com/EffemKit", branch: "main"), ], targets: [ .executableTarget( name: "App", dependencies: [ "EffemAppView", .product(name: "Configuration", package: "swift-configuration"), .product(name: "Hummingbird", package: "hummingbird"), ], path: "Sources/App" ), .target( name: "EffemAppView", dependencies: [ .product(name: "Hummingbird", package: "hummingbird"), .product(name: "HummingbirdAuth", package: "hummingbird-auth"), .product(name: "HummingbirdWebSocket", package: "hummingbird-websocket"), .product(name: "WSClient", package: "swift-websocket"), .product(name: "Configuration", package: "swift-configuration"), .product(name: "PostgresNIO", package: "postgres-nio"), .product(name: "Logging", package: "swift-log"), .product(name: "Metrics", package: "swift-metrics"), .product(name: "Prometheus", package: "swift-prometheus"), .product(name: "ServiceLifecycle", package: "swift-service-lifecycle"), .product(name: "APNS", package: "APNSwift"), .product(name: "CBOR", package: "CBOR"), .product(name: "Crypto", package: "swift-crypto"), .product(name: "CoreATProtocol", package: "CoreATProtocol"), .product(name: "PodcastIndexKit", package: "PodcastIndexKit"), .product(name: "EffemModels", package: "EffemKit"), ], path: "Sources/EffemAppView", resources: [ .copy("Resources/Migrations"), .copy("Resources/Lexicons"), .copy("Resources/categories.json"), ] ), .testTarget( name: "EffemAppViewTests", dependencies: [ "EffemAppView", .product(name: "HummingbirdTesting", package: "hummingbird"), .product(name: "HummingbirdWSTesting", package: "hummingbird-websocket"), ], path: "Tests/EffemAppViewTests", resources: [.copy("Fixtures")] ), ])