-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
24 lines (23 loc) · 739 Bytes
/
Package.swift
File metadata and controls
24 lines (23 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "GitVersionPlugin",
platforms: [
.macOS(.v13),
],
products: [
.plugin(name: "GitVersionPlugin", targets: ["GitVersionPlugin"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", exact: "509.1.1"),
],
targets: [
.plugin(name: "GitVersionPlugin", capability: .buildTool(), dependencies: [
.target(name: "GitStatus"),
]),
.executableTarget(name: "GitStatus", dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftSyntaxBuilder", package: "swift-syntax"),
]),
]
)