Skip to content

Commit d083598

Browse files
committed
Make CI build SwiftParserCLI
1 parent 4f57cf7 commit d083598

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/commands/Build.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ struct Build: ParsableCommand, BuildCommand {
2020
func run() throws {
2121
try buildTarget(packageDir: Paths.packageDir, targetName: "SwiftSyntax-all")
2222
try buildTarget(packageDir: Paths.examplesDir, targetName: "Examples-all")
23+
try buildTarget(packageDir: Paths.swiftParserCliDir, targetName: "swift-parser-cli")
2324
}
2425
}

SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/common/Paths.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ enum Paths {
3131
packageDir
3232
.appendingPathComponent("Examples")
3333
}
34+
35+
static var swiftParserCliDir: URL {
36+
packageDir
37+
.appendingPathComponent("SwiftParserCLI")
38+
}
3439

3540
static var codeGenerationDir: URL {
3641
packageDir

0 commit comments

Comments
 (0)