-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
47 lines (45 loc) · 1.39 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
43
44
45
46
47
// swift-tools-version:5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "MRZScanner",
platforms: [.iOS(.v13), .macOS(.v10_15)],
products: [
.library(
name: "MRZScanner",
targets: ["MRZScanner"]
),
],
dependencies: [
.package(url: "https://github.com/romanmazeev/MRZParser.git", from: "1.2.0"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.3.1"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump.git", from: "1.3.0")
],
targets: [
.target(
name: "MRZScanner",
dependencies: [
"MRZParser",
.product(
name: "Dependencies",
package: "swift-dependencies"
),
.product(
name: "DependenciesMacros",
package: "swift-dependencies"
)
]
),
.testTarget(
name: "MRZScannerTests",
dependencies: [
"MRZScanner",
.product(
name: "CustomDump",
package: "swift-custom-dump"
)
],
resources: [.process("TestImage.png")]
)
]
)