-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPackage.swift
More file actions
69 lines (67 loc) · 2.78 KB
/
Copy pathPackage.swift
File metadata and controls
69 lines (67 loc) · 2.78 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// swift-tools-version: 6.2
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", from: "1.8.2"),
.package(url: "https://github.com/apple/swift-log", from: "1.13.1"),
.package(url: "https://github.com/apple/swift-collections", from: "1.5.1"),
.package(url: "https://github.com/TheAcharya/XLKit.git", from: "1.1.6"),
.package(
url: "https://github.com/orchetect/swift-daw-file-tools",
from: "0.9.3",
traits: [.trait(name: "FCP"), .trait(name: "MIDIFile"), .trait(name: "SRT")]
),
.package(url: "https://github.com/orchetect/swift-extensions", from: "3.0.0"),
.package(url: "https://github.com/orchetect/swift-textfile", from: "0.5.2"),
.package(url: "https://github.com/orchetect/swift-timecode", from: "3.1.2"),
.package(url: "https://github.com/orchetect/swift-testing-extensions", from: "0.3.0")
],
targets: [
.target(
name: "MarkersExtractor",
dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "Collections", package: "swift-collections"),
.product(name: "XLKit", package: "XLKit"),
.product(name: "TextFile", package: "swift-textfile"),
.product(name: "SwiftTimecodeAV", package: "swift-timecode"),
.product(name: "SwiftTimecodeCore", package: "swift-timecode"),
.product(name: "DAWFileTools", package: "swift-daw-file-tools"),
.product(name: "SwiftExtensions", package: "swift-extensions")
],
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))]
)
]
)