mirror of
https://github.com/ProtonMail/ios-mail.git
synced 2026-06-14 09:54:45 +00:00
50 lines
1.9 KiB
Swift
50 lines
1.9 KiB
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "InboxCoreUI",
|
|
platforms: [.iOS(.v17)],
|
|
products: [
|
|
.library(name: "InboxCoreUI", targets: ["InboxCoreUI"])
|
|
],
|
|
dependencies: [
|
|
.package(path: "../InboxCore"),
|
|
.package(path: "../InboxDesignSystem"),
|
|
.package(path: "../InboxTesting"),
|
|
.package(path: "../InboxSnapshotTesting"),
|
|
.package(path: "../../ProtonPackages/proton_app_uniffi"),
|
|
.package(path: "../../ProtonPackages/et-protoncore/platform/apple/ProtonCoreET"),
|
|
.package(url: "https://github.com/apple/swift-collections.git", exact: "1.1.2"),
|
|
.package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.5.0"),
|
|
.package(url: "https://github.com/siteline/swiftui-introspect", from: "1.3.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "InboxCoreUI",
|
|
dependencies: [
|
|
"InboxCore",
|
|
"InboxDesignSystem",
|
|
"proton_app_uniffi",
|
|
.product(name: "AccountLogin", package: "ProtonCoreET"),
|
|
.product(name: "Collections", package: "swift-collections"),
|
|
.product(name: "Lottie", package: "lottie-spm"),
|
|
.product(name: "SwiftUIIntrospect", package: "swiftui-introspect"),
|
|
],
|
|
resources: [
|
|
.process("Resources")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "InboxCoreUITests",
|
|
dependencies: [
|
|
.target(name: "InboxCoreUI"),
|
|
.product(name: "InboxTesting", package: "InboxTesting"),
|
|
.product(name: "InboxSnapshotTesting", package: "InboxSnapshotTesting"),
|
|
.product(name: "AccountLogin", package: "ProtonCoreET"),
|
|
]
|
|
),
|
|
]
|
|
)
|