forked from WeTransfer/WeScan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
35 lines (34 loc) · 1009 Bytes
/
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
// swift-tools-version:5.7
// We're hiding dev, test, and danger dependencies with // dev to make sure they're not fetched by users of this package.
import PackageDescription
let package = Package(
name: "WeScan",
defaultLocalization: "en",
platforms: [
.iOS(.v13)
],
products: [
.library(name: "WeScan", targets: ["WeScan"])
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.10.0")
],
targets: [
.target(name: "WeScan",
resources: [
.process("Resources")
]),
.testTarget(
name: "WeScanTests",
dependencies: [
"WeScan",
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
],
exclude:["Info.plist"],
resources: [
.process("Resources"),
.copy("__Snapshots__")
]
)
]
)