Skip to content

Instantly share code, notes, and snippets.

@mczachurski
Created February 22, 2018 17:17
Show Gist options
  • Save mczachurski/a298ce8d5085318c90d959a31757b590 to your computer and use it in GitHub Desktop.
Save mczachurski/a298ce8d5085318c90d959a31757b590 to your computer and use it in GitHub Desktop.
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "TaskerServer",
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", from: "3.0.0"),
.package(url: "https://github.com/AliSoftware/Dip", from: "6.0.0"),
.package(url: "https://github.com/mczachurski/Dobby", from: "0.7.1"),
.package(url: "https://github.com/IBM-Swift/Configuration.git", from: "3.0.1"),
.package(url: "https://github.com/kjessup/Perfect-SQLite.git", .branch("master"))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(name: "TaskerServerApp", dependencies: ["TaskerServerLib", "PerfectHTTPServer", "Dip", "Configuration", "PerfectSQLite"]),
.target(name: "TaskerServerLib", dependencies: ["PerfectHTTPServer", "Dip", "Configuration", "PerfectSQLite"]),
.testTarget(name: "TaskerServerLibTests", dependencies: ["TaskerServerLib", "PerfectHTTPServer", "Dip", "Configuration", "Dobby"])
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment