Skip to content

Instantly share code, notes, and snippets.

@ianpartridge
Created February 26, 2019 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianpartridge/aabe06ca64e37c3ef9b2e73acf8f5f49 to your computer and use it in GitHub Desktop.
Save ianpartridge/aabe06ca64e37c3ef9b2e73acf8f5f49 to your computer and use it in GitHub Desktop.
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "MyServer",
dependencies: [
.package(url: "https://github.com/IBM-Swift/Kitura.git", .upToNextMinor(from: "2.6.1")),
.package(url: "https://github.com/IBM-Swift/Kitura-CredentialsHTTP.git", .upToNextMinor(from: "2.1.1")),
.package(url: "https://github.com/jakeheis/SwiftCLI.git", .upToNextMinor(from: "4.0.1")),
.package(url: "https://github.com/OpenKitten/MongoKitten.git", .upToNextMinor(from: "4.1.1")),
.package(url: "https://github.com/IBM-Swift/HeliumLogger.git", .upToNextMinor(from: "1.8.0")),
.package(url: "https://github.com/tettoffensive/Cache.git", .upToNextMinor(from: "4.1.3")),
.package(url: "https://github.com/RuntimeTools/SwiftMetrics.git", from: "2.0.0"),
.package(url: "https://github.com/IBM-Swift/Health.git", from: "1.0.0"),
],
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: "MyServer",
dependencies: []),
.testTarget(
name: "MyServerTests",
dependencies: ["MyServer"]),
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment