-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
79 lines (76 loc) · 2.17 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// swift-tools-version: 5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let swiftSettings: [SwiftSetting] = [
// Only for development checks
// SwiftSetting.unsafeFlags([
// "-Xfrontend", "-strict-concurrency=complete",
// "-Xfrontend", "-warn-concurrency",
// "-Xfrontend", "-enable-actor-data-race-checks",
// ])
]
let package = Package(
name: "RouterBytes",
platforms: [
.iOS(.v13),
.watchOS(.v8)
],
products: [
.library(
name: "RouterBytes",
targets: ["RouterBytes"]),
.library(
name: "RouterBytesAuthentication",
targets: ["RouterBytesAuthentication"]
),
.library(
name: "APIMultipart",
targets: ["APIMultipart"]
),
.library(
name: "APIServiceMock",
targets: ["APIServiceMock"]
)
],
dependencies: [
.package(url: "https://github.com/cleevio/CleevioCore.git", .upToNextMajor(from: .init(2, 1, 7))),
.package(url: "https://github.com/cleevio/CleevioStorage.git", .upToNextMajor(from: .init(0, 4, 2)))
],
targets: [
.target(
name: "RouterBytes",
dependencies: [
.product(name: "CleevioCore", package: "CleevioCore")
],
swiftSettings: swiftSettings
),
.target(
name: "RouterBytesAuthentication",
dependencies: [
"RouterBytes",
"CleevioStorage"
],
swiftSettings: swiftSettings
),
.target(
name: "APIServiceMock",
dependencies: [
"RouterBytes",
],
swiftSettings: swiftSettings
),
.target(
name: "APIMultipart",
dependencies: [
"RouterBytes"
],
swiftSettings: swiftSettings
),
.testTarget(
name: "RouterBytesTests",
dependencies: [
"RouterBytes",
"RouterBytesAuthentication"
])
]
)