forked from cpisciotta/xcbeautify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
48 lines (47 loc) · 1.36 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "xcbeautify",
products: [
.executable(name: "xcbeautify", targets: ["xcbeautify"]),
.library(name: "XcbeautifyLib", targets: ["XcbeautifyLib"]),
],
dependencies: [
.package(
url: "https://github.com/apple/swift-argument-parser.git",
.upToNextMinor(from: "1.3.0")
),
.package(
url: "https://github.com/getGuaka/Colorizer.git",
.upToNextMinor(from: "0.2.1")
),
.package(
url: "https://github.com/MaxDesiatov/XMLCoder.git",
.upToNextMinor(from: "0.17.1")
),
],
targets: [
.executableTarget(
name: "xcbeautify",
dependencies: [
"XcbeautifyLib",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
.target(
name: "XcbeautifyLib",
dependencies: [
"Colorizer",
"XMLCoder",
]
),
.testTarget(
name: "XcbeautifyLibTests",
dependencies: ["XcbeautifyLib"],
resources: [
.copy("ParsingTests/clean_build_xcode_15_1.txt"),
.copy("ParsingTests/large_xcodebuild_log.txt"),
]
),
]
)