-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathPackage.swift
31 lines (29 loc) · 1.5 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(name: "PushNotifications",
platforms: [.macOS(.v10_10),
.iOS(.v10)],
products: [
.library(name: "PushNotifications",
targets: ["PushNotifications"])
],
dependencies: [
.package(url: "https://github.com/Quick/Nimble",
.upToNextMajor(from: "9.2.0")),
.package(url: "https://github.com/AliSoftware/OHHTTPStubs",
.upToNextMajor(from: "9.1.0")),
// Source code linting
.package(url: "https://github.com/realm/SwiftLint",
.upToNextMajor(from: "0.43.1"))
],
targets: [
.target(name: "PushNotifications",
path: "Sources"),
.testTarget(name: "PushNotificationsTests",
dependencies: ["PushNotifications",
"Nimble",
"OHHTTPStubs",
"OHHTTPStubsSwift"],
path: "Tests")
],
swiftLanguageVersions: [.v5])