-
Notifications
You must be signed in to change notification settings - Fork 46
/
Package.swift
37 lines (35 loc) · 1.25 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "PMKAlamofire",
platforms: [.macOS(.v10_12),
.iOS(.v10),
.tvOS(.v10),
.watchOS(.v3)],
products: [
.library(name: "PMKAlamofire", targets: ["PMKAlamofire"])
],
dependencies: [
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "8.1.1"),
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.8.1"),
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", from: "9.1.0")
],
targets: [
.target(
name: "PMKAlamofire",
dependencies: [
.product(name: "PromiseKit", package: "PromiseKit"),
.product(name: "Alamofire", package: "Alamofire"),
],
path: "Sources"
),
.testTarget(
name: "PMKAlamofireTests",
dependencies: [
.target(name: "PMKAlamofire"),
.product(name: "OHHTTPStubs")
],
path: "Tests"
)
],
swiftLanguageVersions: [.v5])