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"]) + ] +)