-
Notifications
You must be signed in to change notification settings - Fork 13
/
Package.swift
39 lines (38 loc) · 1.32 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "MailCore",
products: [
.library(name: "MailCore", targets: ["MailCore"]),
.library(name: "MailCoreTestTools", targets: ["MailCoreTestTools"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),
.package(url: "https://github.com/twof/VaporMailgunService.git", .upToNextMinor(from: "1.8.0")),
.package(url: "https://github.com/vapor-community/sendgrid-provider.git", from: "3.0.5"),
.package(url: "https://github.com/IBM-Swift/Swift-SMTP.git", from: "5.1.0"),
.package(url: "https://github.com/IBM-Swift/LoggerAPI.git", .upToNextMinor(from: "1.8.0")),
.package(url: "https://github.com/LiveUI/VaporTestTools.git", from: "0.1.5")
],
targets: [
.target(name: "MailCore", dependencies: [
"Vapor",
"Mailgun",
"SendGrid",
"SwiftSMTP"
]
),
.target(name: "MailCoreTestTools", dependencies: [
"Vapor",
"VaporTestTools",
"MailCore"
]
),
.testTarget(name: "MailCoreTests", dependencies: [
"MailCore",
"MailCoreTestTools",
"VaporTestTools"
]
)
]
)