-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
65 lines (63 loc) · 2.61 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// swift-tools-version: 5.6
// (be sure to update the .swift-version file when this Swift version changes)
import PackageDescription
let package = Package(
name: "MarkersExtractor",
platforms: [
.macOS(.v12)
],
products: [
.library(
name: "MarkersExtractor",
type: .static,
targets: ["MarkersExtractor"]
),
.executable(
name: "markers-extractor",
targets: ["MarkersExtractorCLI"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.1"),
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.4"),
.package(url: "https://github.com/TheAcharya/xlsxwriter.git", from: "1.0.3"),
.package(url: "https://github.com/orchetect/TextFileKit.git", from: "0.2.0"),
.package(url: "https://github.com/orchetect/TimecodeKit.git", from: "2.3.3"),
.package(url: "https://github.com/orchetect/DAWFileKit.git", from: "0.5.1"),
.package(url: "https://github.com/orchetect/OTCore.git", from: "1.7.0"),
.package(url: "https://github.com/orchetect/swift-testing-extensions.git", from: "0.2.0")
],
targets: [
.target(
name: "MarkersExtractor",
dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "Collections", package: "swift-collections"),
.product(name: "xlsxwriter", package: "xlsxwriter"),
.product(name: "TextFileKit", package: "TextFileKit"),
.product(name: "TimecodeKitCore", package: "TimecodeKit"),
.product(name: "DAWFileKit", package: "DAWFileKit"),
"OTCore"
],
swiftSettings: [.define("DEBUG", .when(configuration: .debug))]
),
.testTarget(
name: "MarkersExtractorTests",
dependencies: [
"MarkersExtractor",
.product(name: "TestingExtensions", package: "swift-testing-extensions")
],
resources: [.copy("TestResource/Media Files")],
swiftSettings: [.define("DEBUG", .when(configuration: .debug))]
),
.executableTarget(
name: "MarkersExtractorCLI",
dependencies: [
"MarkersExtractor",
.product(name: "ArgumentParser", package: "swift-argument-parser")
],
swiftSettings: [.define("DEBUG", .when(configuration: .debug))]
)
]
)