-
Notifications
You must be signed in to change notification settings - Fork 108
/
Copy pathPackage.swift
40 lines (38 loc) · 1.33 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
38
39
40
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Lock",
defaultLocalization: "en",
platforms: [.iOS(.v9)],
products: [
.library(name: "Lock", targets: ["Lock"])
],
dependencies: [
.package(name: "Auth0", url: "https://github.com/auth0/Auth0.swift.git", .upToNextMajor(from: "1.31.0")),
.package(name: "Quick", url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "4.0.0")),
.package(name: "Nimble", url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "9.0.0")),
.package(name: "OHHTTPStubs", url: "https://github.com/AliSoftware/OHHTTPStubs.git", .upToNextMajor(from: "9.0.0"))
],
targets: [
.target(
name: "Lock",
dependencies: ["Auth0"],
path: "Lock",
exclude: ["Info.plist"],
resources: [
.process("Lock.xcassets"),
.process("passwordless_country_codes.plist")
]),
.testTarget(
name: "LockTests",
dependencies: [
"Lock",
"Auth0",
"Quick",
"Nimble",
.product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs")
],
path: "LockTests",
exclude: ["Info.plist"])
]
)