IceCubes/Packages/Account/Package.swift

46 lines
1.2 KiB
Swift
Raw Normal View History

// swift-tools-version: 5.9
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(
name: "Account",
defaultLocalization: "en",
2022-11-29 11:46:02 +01:00
platforms: [
.iOS(.v17),
.visionOS(.v1),
2022-11-29 11:46:02 +01:00
],
products: [
.library(
name: "Account",
2023-01-17 11:36:01 +01:00
targets: ["Account"]
),
2022-11-29 11:46:02 +01:00
],
dependencies: [
.package(name: "Network", path: "../Network"),
.package(name: "Models", path: "../Models"),
2024-01-06 19:27:26 +01:00
.package(name: "StatusKit", path: "../StatusKit"),
.package(name: "Env", path: "../Env"),
.package(url: "https://github.com/Dean151/ButtonKit", from: "0.1.1"),
2022-11-29 11:46:02 +01:00
],
targets: [
.target(
name: "Account",
dependencies: [
.product(name: "Network", package: "Network"),
2022-12-18 20:30:19 +01:00
.product(name: "Models", package: "Models"),
2024-01-06 19:27:26 +01:00
.product(name: "StatusKit", package: "StatusKit"),
.product(name: "Env", package: "Env"),
2024-02-14 12:48:14 +01:00
.product(name: "ButtonKit", package: "ButtonKit"),
],
swiftSettings: [
2023-09-16 14:15:03 +02:00
.enableExperimentalFeature("StrictConcurrency"),
2023-01-17 11:36:01 +01:00
]
),
2022-11-29 11:46:02 +01:00
.testTarget(
name: "AccountTests",
2023-01-17 11:36:01 +01:00
dependencies: ["Account"]
),
2022-11-29 11:46:02 +01:00
]
)