2020-05-17 20:01:30 +02:00
|
|
|
// swift-tools-version:5.0
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "CapCollectorServer",
|
|
|
|
dependencies: [
|
|
|
|
.package(url: "https://github.com/vapor/vapor.git", .upToNextMinor(from: "3.3.0")),
|
2020-05-19 15:19:19 +02:00
|
|
|
.package(url: "https://github.com/stephencelis/SQLite.swift", from: "0.12.0"),
|
2020-05-17 20:01:30 +02:00
|
|
|
],
|
|
|
|
targets: [
|
2020-05-19 15:19:19 +02:00
|
|
|
.target(name: "App", dependencies: ["Vapor", "SQLite"]),
|
2020-05-17 20:01:30 +02:00
|
|
|
.target(name: "Run", dependencies: ["App"]),
|
|
|
|
.testTarget(name: "AppTests", dependencies: ["App"]),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|