-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
37 lines (36 loc) · 1.53 KB
/
Copy pathPackage.swift
File metadata and controls
37 lines (36 loc) · 1.53 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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "crap4swift",
platforms: [.macOS(.v13)],
dependencies: [
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "600.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.0"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.0.0"),
],
targets: [
.executableTarget(
name: "crap4swift",
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftParser", package: "swift-syntax"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Yams", package: "Yams"),
.product(name: "Dependencies", package: "swift-dependencies"),
],
swiftSettings: [.swiftLanguageMode(.v5)]
),
.testTarget(
name: "crap4swiftTests",
dependencies: [
"crap4swift",
.product(name: "Yams", package: "Yams"),
.product(name: "CustomDump", package: "swift-custom-dump"),
.product(name: "DependenciesTestSupport", package: "swift-dependencies"),
],
swiftSettings: [.swiftLanguageMode(.v5)]
),
]
)