forked from DGNum/colmena
Remove test-progress subcommand from release builds
This commit is contained in:
parent
f809d3b21c
commit
111bc9dea7
2 changed files with 4 additions and 0 deletions
|
@ -146,6 +146,7 @@ It's also possible to specify the preference using environment variables. See <h
|
|||
// deprecated alias
|
||||
app = app.subcommand(command::eval::deprecated_alias());
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
register_command!(test_progress, app);
|
||||
}
|
||||
|
||||
|
@ -178,6 +179,7 @@ pub async fn run() {
|
|||
// deprecated alias
|
||||
handle_command!("introspect", eval, matches);
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
handle_command!("test-progress", test_progress, matches);
|
||||
|
||||
if let Some(args) = matches.subcommand_matches("gen-completions") {
|
||||
|
|
|
@ -5,4 +5,6 @@ pub mod apply_local;
|
|||
pub mod upload_keys;
|
||||
pub mod exec;
|
||||
pub mod nix_info;
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
pub mod test_progress;
|
||||
|
|
Loading…
Reference in a new issue