-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathPackage.swift
29 lines (27 loc) · 945 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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "BridgeJS",
platforms: [.macOS(.v13)],
dependencies: [
.package(url: "https://github.com/swiftlang/swift-syntax", from: "600.0.1")
],
targets: [
.target(name: "BridgeJSBuildPlugin"),
.target(name: "BridgeJSLink"),
.executableTarget(
name: "BridgeJSTool",
dependencies: [
.product(name: "SwiftParser", package: "swift-syntax"),
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftBasicFormat", package: "swift-syntax"),
.product(name: "SwiftSyntaxBuilder", package: "swift-syntax"),
]
),
.testTarget(
name: "BridgeJSToolTests",
dependencies: ["BridgeJSTool", "BridgeJSLink"],
exclude: ["__Snapshots__", "Inputs"]
),
]
)