-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
26 lines (23 loc) · 1.12 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
// swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "PayPal",
products: [
.library(name: "PayPal", targets: ["PayPal"]),
],
dependencies: [
.package(url: "https://github.com/skelpo/Countries.git", from: "0.9.1"),
.package(url: "https://github.com/skelpo/Failable.git", from: "0.2.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "3.1.0"),
.package(url: "https://github.com/skelpo/JSON.git", from: "0.13.1"),
.package(url: "https://github.com/twostraws/SwiftGD.git", from: "2.2.0")
],
targets: [
.target(name: "PayPal", dependencies: ["Vapor", "JSON", "Failable", "Countries"]),
.target(name: "TestUtilities", dependencies: ["PayPal", "Vapor"]),
.testTarget(name: "ConfigTests", dependencies: ["PayPal", "TestUtilities"]),
.testTarget(name: "ControllerTests", dependencies: ["PayPal", "SwiftGD", "TestUtilities"]),
.testTarget(name: "ModelTests", dependencies: ["PayPal", "TestUtilities"]),
.testTarget(name: "PayPalTests", dependencies: ["PayPal", "Vapor", "JSON"]),
]
)