forked from tomlokhorst/Promissum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
26 lines (24 loc) · 889 Bytes
/
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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "Promissum",
platforms: [
.macOS(.v10_12), .iOS(.v10), .tvOS(.v10), .watchOS(.v3)
],
products: [
.library(name: "Promissum", targets: ["Promissum"]),
.library(name: "PromissumAlamofire", targets: ["PromissumAlamofire"]),
.library(name: "PromissumUIKit", targets: ["PromissumUIKit"]),
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.1.0")
],
targets: [
.target(name: "Promissum"),
.target(name: "PromissumAlamofire", dependencies: ["Promissum", "Alamofire"]),
.target(name: "PromissumUIKit", dependencies: ["Promissum"]),
.testTarget(name: "PromissumTests", dependencies: ["Promissum"]),
.testTarget(name: "PromissumAlamofireTests", dependencies: ["PromissumAlamofire"]),
],
swiftLanguageVersions: [.v5]
)