File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/commands Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ import ArgumentParser
14
14
import Foundation
15
15
16
16
struct Build : ParsableCommand , BuildCommand {
17
+ static var configuration : CommandConfiguration {
18
+ return CommandConfiguration (
19
+ abstract: " Build swift-syntax. "
20
+ )
21
+ }
22
+
17
23
@OptionGroup
18
24
var arguments : BuildArguments
19
25
Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ import ArgumentParser
14
14
import Foundation
15
15
16
16
struct GenerateSourceCode : ParsableCommand , SourceCodeGeneratorCommand {
17
+ static var configuration : CommandConfiguration {
18
+ return CommandConfiguration (
19
+ abstract: " Generate swift-syntax sources. "
20
+ )
21
+ }
22
+
17
23
@OptionGroup
18
24
var arguments : SourceCodeGeneratorArguments
19
25
Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ import ArgumentParser
14
14
import Foundation
15
15
16
16
struct Test : ParsableCommand , BuildCommand {
17
+ static var configuration : CommandConfiguration {
18
+ return CommandConfiguration (
19
+ abstract: " Run swift-syntax tests. "
20
+ )
21
+ }
22
+
17
23
@OptionGroup
18
24
var arguments : BuildArguments
19
25
Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ fileprivate var modules: [String] {
18
18
}
19
19
20
20
struct VerifySourceCode : ParsableCommand , SourceCodeGeneratorCommand {
21
+ static var configuration : CommandConfiguration {
22
+ return CommandConfiguration (
23
+ abstract: " Verify that the generated sources match the ones checked into the repository. "
24
+ )
25
+ }
26
+
21
27
@OptionGroup
22
28
var arguments : SourceCodeGeneratorArguments
23
29
You can’t perform that action at this time.
0 commit comments