-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
51 lines (49 loc) · 1.45 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "AppRemoteConfig",
defaultLocalization: "en",
platforms: [.iOS(.v15), .macOS(.v12), .tvOS(.v15), .watchOS(.v8), .macCatalyst(.v15)],
products: [
.library(
name: "AppRemoteConfig",
targets: ["AppRemoteConfig"]
),
.library(
name: "SodiumClientLive",
targets: ["SodiumClientLive"]
)
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.0.0"),
.package(url: "https://github.com/jedisct1/swift-sodium.git", from: "0.9.1")
],
targets: [
.target(
name: "AppRemoteConfig",
dependencies: [
"SodiumClient"
]
),
.testTarget(
name: "AppRemoteConfigTests",
dependencies: [
"AppRemoteConfig",
"SodiumClientLive"
]
),
.target(
name: "SodiumClient",
dependencies: [
.product(name: "Dependencies", package: "swift-dependencies"),
.product(name: "DependenciesMacros", package: "swift-dependencies")
]
),
.target(
name: "SodiumClientLive",
dependencies: [
"SodiumClient",
.product(name: "Sodium", package: "swift-sodium")
])
]
)