-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
57 lines (55 loc) · 2.24 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "MongoKitten-Examples",
platforms: [
.macOS(.v13),
],
products: [
.executable(name: "VaporTodoExample", targets: ["VaporTodoExample"]),
.executable(name: "VaporMeowTodoExample", targets: ["VaporMeowTodoExample"]),
.executable(name: "VaporMeowWebSocketNotifications", targets: ["VaporMeowWebSocketNotifications"]),
.executable(name: "VaporMongoQueueExample", targets: ["VaporMongoQueueExample"]),
],
dependencies: [
.package(url: "https://github.com/orlandos-nl/MongoKitten.git", from: "7.0.0"),
.package(url: "https://github.com/orlandos-nl/MongoQueue.git", from: "1.0.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/jwt.git", from: "4.0.0"),
.package(url: "https://github.com/Joannis/VaporSMTPKit.git", from: "1.0.0"),
],
targets: [
.executableTarget(
name: "VaporTodoExample",
dependencies: [
.product(name: "MongoKitten", package: "MongoKitten"),
.product(name: "Vapor", package: "vapor"),
]
),
.executableTarget(
name: "VaporMeowTodoExample",
dependencies: [
.product(name: "Meow", package: "MongoKitten"),
.product(name: "Vapor", package: "vapor"),
]
),
.executableTarget(
name: "VaporMeowWebSocketNotifications",
dependencies: [
.product(name: "Meow", package: "MongoKitten"),
.product(name: "Vapor", package: "vapor"),
]
),
.executableTarget(
name: "VaporMongoQueueExample",
dependencies: [
.product(name: "Meow", package: "MongoKitten"),
.product(name: "MongoQueue", package: "MongoQueue"),
.product(name: "Vapor", package: "vapor"),
.product(name: "JWT", package: "jwt"),
.product(name: "VaporSMTPKit", package: "VaporSMTPKit"),
]
),
]
)