diff options
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r-- | xtask/src/main.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 0b19c34f4..db901ced2 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs | |||
@@ -57,19 +57,13 @@ fn main() -> Result<()> { | |||
57 | }; | 57 | }; |
58 | install(opts)? | 58 | install(opts)? |
59 | } | 59 | } |
60 | "gen-tests" => { | ||
61 | if matches.contains(["-h", "--help"]) { | ||
62 | help::print_no_param_subcommand_help(&subcommand); | ||
63 | return Ok(()); | ||
64 | } | ||
65 | codegen::generate_parser_tests(Mode::Overwrite)? | ||
66 | } | ||
67 | "codegen" => { | 60 | "codegen" => { |
68 | if matches.contains(["-h", "--help"]) { | 61 | if matches.contains(["-h", "--help"]) { |
69 | help::print_no_param_subcommand_help(&subcommand); | 62 | help::print_no_param_subcommand_help(&subcommand); |
70 | return Ok(()); | 63 | return Ok(()); |
71 | } | 64 | } |
72 | codegen::generate_syntax(Mode::Overwrite)? | 65 | codegen::generate_syntax(Mode::Overwrite)?; |
66 | codegen::generate_parser_tests(Mode::Overwrite)?; | ||
73 | } | 67 | } |
74 | "format" => { | 68 | "format" => { |
75 | if matches.contains(["-h", "--help"]) { | 69 | if matches.contains(["-h", "--help"]) { |