-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
36 lines (34 loc) · 1.16 KB
/
Copy pathPackage.swift
File metadata and controls
36 lines (34 loc) · 1.16 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
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "PlaygroundsAppTool",
platforms: [
.macOS(.v10_15)
],
products: [
.library(name: "PlaygroundsAppToolLibrary", targets: ["PlaygroundsAppToolLibrary"]),
.executable(name: "PlaygroundsAppTool", targets: ["PlaygroundsAppTool"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.0"),
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "602.0.0"),
],
targets: [
.executableTarget(
name: "PlaygroundsAppTool",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"PlaygroundsAppToolLibrary"
],
path: "Sources/CLI"
),
.target(
name: "PlaygroundsAppToolLibrary",
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftParser", package: "swift-syntax"),
],
path: "Sources/PlaygroundsAppToolLibrary"
)
]
)