From 4f605bfbbdf4fc805fd9f6824844b01169540599 Mon Sep 17 00:00:00 2001 From: Joannis Orlandos Date: Thu, 12 Oct 2017 10:06:46 +0200 Subject: [PATCH] separate swift4 package description --- Package@swift-4.swift | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Package@swift-4.swift diff --git a/Package@swift-4.swift b/Package@swift-4.swift new file mode 100644 index 0000000..007db78 --- /dev/null +++ b/Package@swift-4.swift @@ -0,0 +1,17 @@ +// swift-tools-version:4.0 +import PackageDescription + +let package = Package( + name: "MongoDriver", + products: [ + .library(name: "MongoDriver", targets: ["MongoDriver"]) + ], + dependencies: [ + .package(url: "https://github.com/vapor/fluent.git", .upToNextMajor(from: "2.4.1")), + .package(url: "https://github.com/OpenKitten/MongoKitten.git", .upToNextMinor(from: "4.0.16")) + ], + targets: [ + .target(name: "MongoDriver", dependencies: ["Fluent", "MongoKitten"]), + .testTarget(name: "MongoDriverTests", dependencies: ["MongoDriver", "FluentTester"]) + ] +)