mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Move compound-ios package into the project.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
// swift-tools-version: 5.9
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "Compound",
|
||||
platforms: [.iOS(.v17)],
|
||||
products: [
|
||||
.library(name: "Compound", targets: ["Compound"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/element-hq/compound-design-tokens", exact: "6.0.0"),
|
||||
// .package(path: "../compound-design-tokens"),
|
||||
.package(url: "https://github.com/siteline/SwiftUI-Introspect", from: "26.0.0"),
|
||||
.package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols", from: "6.2.0"),
|
||||
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", exact: "1.18.3")
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "Compound",
|
||||
dependencies: [
|
||||
.product(name: "CompoundDesignTokens", package: "compound-design-tokens"),
|
||||
.product(name: "SwiftUIIntrospect", package: "SwiftUI-Introspect"),
|
||||
.product(name: "SFSafeSymbols", package: "SFSafeSymbols")
|
||||
]
|
||||
),
|
||||
.testTarget(
|
||||
name: "CompoundTests",
|
||||
dependencies: [
|
||||
"Compound",
|
||||
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
|
||||
],
|
||||
exclude: [
|
||||
"__Snapshots__"
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user