Created
March 9, 2018 23:56
-
-
Save jhoughjr/1fdb08134e229824b83d74abdd7bbcd6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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