-
Notifications
You must be signed in to change notification settings - Fork 8
/
Package.swift
34 lines (33 loc) · 1.02 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "mongodb-vapor",
platforms: [
.macOS(.v10_15)
],
products: [
.library(name: "MongoDBVapor", targets: ["MongoDBVapor"]),
],
dependencies: [
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "8.0.0")),
.package(url: "https://github.com/mongodb/mongo-swift-driver", .upToNextMajor(from: "1.3.1")),
.package(url: "https://github.com/vapor/vapor", .upToNextMajor(from: "4.0.0"))
],
targets: [
.target(
name: "MongoDBVapor",
dependencies: [
.product(name: "MongoSwift", package: "mongo-swift-driver"),
.product(name: "Vapor", package: "vapor")
]
),
.testTarget(
name: "MongoDBVaporTests",
dependencies: [
"MongoDBVapor",
"Nimble",
.product(name: "XCTVapor", package: "vapor")
]
),
]
)