-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
49 lines (47 loc) · 1.6 KB
/
Package.swift
File metadata and controls
49 lines (47 loc) · 1.6 KB
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
43
44
45
46
47
48
49
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "SnappThemingDesignTokensSupport",
platforms: [
.iOS(.v16),
.macOS(.v13),
],
products: [
.library(
name: "SnappThemingDesignTokensSupport",
targets: ["SnappThemingDesignTokensSupport"]
),
],
dependencies: [
.package(url: "https://github.com/Snapp-Mobile/SnappTheming.git", from: "0.1.3"),
.package(url: "https://github.com/Snapp-Mobile/SnappDesignTokens.git", from: "0.1.0"),
.package(url: "https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git", from: "1.0.4"),
],
targets: [
.target(
name: "SnappThemingDesignTokensSupport",
dependencies: [
"SnappTheming",
"SnappDesignTokens",
],
plugins: [
.plugin(name: "Lint", package: "SwiftFormatLintPlugin")
]
),
.testTarget(
name: "SnappThemingDesignTokensSupportTests",
dependencies: ["SnappThemingDesignTokensSupport"],
resources: [
.copy("Resources/design.tokens.json"),
.copy("Resources/expected.snapptheming.json"),
.copy("Resources/alien.svg"),
.copy("Resources/alien.png"),
.copy("Resources/alien.jpg"),
.copy("Resources/loading.lottie"),
.copy("Resources/ArialBlack.ttf"),
.copy("Resources/unknown"),
.copy("Resources/unsupported.extension"),
]
),
]
)