IceCubesApp/Packages/Env/Package.swift

44 lines
1.1 KiB
Swift
Raw Normal View History

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