-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
40 lines (38 loc) · 1005 Bytes
/
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
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "TCADiagram",
platforms: [
.macOS(.v13),
],
products: [
.library(name: "tca-diagram-lib", targets: ["TCADiagramLib"]),
.executable(name: "tca-diagram", targets: ["TCADiagram"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", from: "510.0.1"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.0"),
],
targets: [
.target(
name: "TCADiagramLib",
dependencies: [
.product(name: "SwiftParser", package: "swift-syntax"),
.product(name: "SwiftSyntax", package: "swift-syntax"),
]
),
.testTarget(
name: "TCADiagramLibTests",
dependencies: [
"TCADiagramLib"
]
),
.executableTarget(
name: "TCADiagram",
dependencies: [
"TCADiagramLib",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
]
)