-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPackage.swift
33 lines (31 loc) · 1.08 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
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "ocrit",
platforms: [.macOS(.v12)],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.1.0"),
.package(url: "https://github.com/kylef/PathKit", from: "1.0.1")
],
targets: [
.executableTarget(
name: "ocrit",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "PathKit", package: "PathKit")
]),
.testTarget(
name: "ocritTests",
dependencies: ["ocrit"],
exclude: ["Resources/ocrit-fixtures.sketch"],
resources: [
.copy("Resources/test-en.png"),
.copy("Resources/test-pt.png"),
.copy("Resources/test-zh.png"),
.copy("Resources/test-multi-en-ko.png"),
.copy("Resources/test-en-singlepage.pdf"),
.copy("Resources/test-en-multipage.pdf"),
]
),
]
)