2020-08-31 03:40:58 +02:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "HTTP",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v14),
|
|
|
|
.macOS(.v11)
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "HTTP",
|
2020-08-31 12:21:01 +02:00
|
|
|
targets: ["HTTP"]),
|
|
|
|
.library(
|
|
|
|
name: "Stubbing",
|
|
|
|
targets: ["Stubbing"])
|
2020-08-31 03:40:58 +02:00
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.2.2"))
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "HTTP",
|
|
|
|
dependencies: ["Alamofire"]),
|
2020-08-31 12:21:01 +02:00
|
|
|
.target(
|
|
|
|
name: "Stubbing",
|
|
|
|
dependencies: ["HTTP"]),
|
2020-08-31 03:40:58 +02:00
|
|
|
.testTarget(
|
|
|
|
name: "HTTPTests",
|
|
|
|
dependencies: ["HTTP"])
|
|
|
|
]
|
|
|
|
)
|