2024-09-10 06:53:19 +02:00
|
|
|
// swift-tools-version: 6.0
|
2022-11-29 11:46:02 +01:00
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
2022-12-22 10:53:36 +01:00
|
|
|
name: "Env",
|
2023-01-19 18:14:08 +01:00
|
|
|
defaultLocalization: "en",
|
2022-11-29 11:46:02 +01:00
|
|
|
platforms: [
|
2023-09-18 07:01:23 +02:00
|
|
|
.iOS(.v17),
|
2023-12-19 09:51:20 +01:00
|
|
|
.visionOS(.v1),
|
2022-11-29 11:46:02 +01:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
2022-12-22 10:53:36 +01:00
|
|
|
name: "Env",
|
2023-01-17 11:36:01 +01:00
|
|
|
targets: ["Env"]
|
|
|
|
),
|
2022-11-29 11:46:02 +01:00
|
|
|
],
|
2022-12-17 13:37:46 +01:00
|
|
|
dependencies: [
|
2022-12-22 11:19:56 +01:00
|
|
|
.package(name: "Models", path: "../Models"),
|
2023-01-17 11:36:01 +01:00
|
|
|
.package(name: "Network", path: "../Network"),
|
2023-02-14 06:59:44 +01:00
|
|
|
.package(url: "https://github.com/evgenyneu/keychain-swift", branch: "master"),
|
2024-08-15 09:23:07 +02:00
|
|
|
.package(url: "https://github.com/TelemetryDeck/SwiftSDK", from: "2.3.0"),
|
2022-12-17 13:37:46 +01:00
|
|
|
],
|
2022-11-29 11:46:02 +01:00
|
|
|
targets: [
|
|
|
|
.target(
|
2022-12-22 10:53:36 +01:00
|
|
|
name: "Env",
|
2022-12-17 13:37:46 +01:00
|
|
|
dependencies: [
|
|
|
|
.product(name: "Models", package: "Models"),
|
2022-12-22 11:19:56 +01:00
|
|
|
.product(name: "Network", package: "Network"),
|
2023-02-14 06:59:44 +01:00
|
|
|
.product(name: "KeychainSwift", package: "keychain-swift"),
|
2024-08-14 17:23:10 +02:00
|
|
|
.product(name: "TelemetryDeck", package: "SwiftSDK")
|
2023-09-15 12:46:15 +02:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2024-09-10 06:53:19 +02:00
|
|
|
.swiftLanguageMode(.v6),
|
2023-01-17 11:36:01 +01:00
|
|
|
]
|
|
|
|
),
|
2024-01-01 09:48:53 +01:00
|
|
|
.testTarget(
|
|
|
|
name: "EnvTests",
|
|
|
|
dependencies: ["Env"]
|
|
|
|
),
|
2022-11-29 11:46:02 +01:00
|
|
|
]
|
|
|
|
)
|