Created
April 12, 2019 15:18
-
-
Save standinga/d0e2552324c9fae186ddb3634d95f7bc to your computer and use it in GitHub Desktop.
Vapor Package.swift with FluentMySQL
This file contains hidden or 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.2 | |
import PackageDescription | |
let package = Package( | |
name: "server", | |
products: [ | |
.library(name: "server", targets: ["App"]), | |
], | |
dependencies: [ | |
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"), | |
.package(url: "https://github.com/vapor/fluent-mysql.git", from: "3.0.0"), | |
], | |
targets: [ | |
.target(name: "App", dependencies: ["FluentMySQL", "Vapor"]), | |
.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