Skip to content

Instantly share code, notes, and snippets.

@jhoughjr
Created March 9, 2018 23:56
Show Gist options
  • Save jhoughjr/1fdb08134e229824b83d74abdd7bbcd6 to your computer and use it in GitHub Desktop.
Save jhoughjr/1fdb08134e229824b83d74abdd7bbcd6 to your computer and use it in GitHub Desktop.
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "teamserver",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "2.2.0")),
.package(url: "https://github.com/vapor/leaf-provider.git", .upToNextMajor(from: "1.1.0")),
.package(url: "https://github.com/vapor/auth-provider.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/vapor/fluent-provider.git", .upToNextMajor(from: "2.0.0"))
],
targets: [
.target(
name: "App",
dependencies: ["Vapor", "LeafProvider"],
exclude: ["Config", "Database", "Public", "Resources"]
),
.target(name: "Run", dependencies: ["App"]),
.testTarget(name: "AppTests", dependencies: ["App", "Testing"])
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment