generated from element-hq/.github
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathPackage.swift
42 lines (40 loc) · 1.51 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "Compound",
platforms: [.iOS(.v16)],
products: [
.library(name: "Compound", targets: ["Compound"])
],
dependencies: [
.package(url: "https://github.com/element-hq/compound-design-tokens", exact: "3.0.1"),
.package(url: "https://github.com/siteline/SwiftUI-Introspect", from: "1.3.0"),
.package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols", from: "5.3.0"),
.package(url: "https://github.com/BarredEwe/Prefire", from: "2.10.0"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", exact: "1.17.5") // Newer require Swift Testing
],
targets: [
.target(
name: "Compound",
dependencies: [
.product(name: "CompoundDesignTokens", package: "compound-design-tokens"),
.product(name: "SwiftUIIntrospect", package: "SwiftUI-Introspect"),
.product(name: "SFSafeSymbols", package: "SFSafeSymbols"),
.product(name: "Prefire", package: "Prefire")
]
),
.testTarget(
name: "CompoundTests",
dependencies: [
"Compound",
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
],
exclude: [
"__Snapshots__"
],
plugins: [
.plugin(name: "PrefireTestsPlugin", package: "Prefire")
]
)
]
)