Add flags to disable rust and cargo (fix #200)

This commit is contained in:
Roey Darwish Dror
2019-08-19 20:15:01 +03:00
parent aed18426f7
commit f5c2368a4d
2 changed files with 23 additions and 12 deletions

View File

@@ -24,6 +24,8 @@ lazy_static! {
m.insert("gem", Step::Gem);
m.insert("sdkman", Step::Sdkman);
m.insert("remotes", Step::Remotes);
m.insert("rustup", Step::Rustup);
m.insert("cargo", Step::Cargo);
#[cfg(windows)]
m.insert("powershell", Step::Powershell);
@@ -49,6 +51,10 @@ pub enum Step {
Sdkman,
/// Don't run remote Togprades
Remotes,
/// Don't run Rustup
Rustup,
/// Don't run Cargo
Cargo,
/// Don't update Powershell modules
Powershell,
}