Skip to content

Instantly share code, notes, and snippets.

@jhoughjr
Created March 14, 2018 16:46
Show Gist options
  • Save jhoughjr/36966a7e46e02de6beeaa9e5435556e1 to your computer and use it in GitHub Desktop.
Save jhoughjr/36966a7e46e02de6beeaa9e5435556e1 to your computer and use it in GitHub Desktop.
// swift-tools-version:4.1
import PackageDescription
let package = Package(
name: "teamserver",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
dependencies: [
// 💧 A server-side Swift web framework.
.package(url: "https://github.com/vapor/vapor.git",
from: "3.0.0-rc"),
.package(url: "https://github.com/vapor/auth.git",
from: "2.0.0-RC2")],
targets: [
.target(name: "App",
dependencies: ["Vapor", "Auth"],
exclude: ["Config","Public","Resources"]),
.target(name: "Run",
dependencies: ["App"]),
.testTarget(name: "AppTests",
dependencies: ["App"])
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment