Add --no-ruby flag (#106)

This commit is contained in:
Edvin Malinovskis
2019-01-13 14:10:23 +00:00
committed by Roey Darwish Dror
parent 71d31fcdc5
commit ab5b02c6c8
2 changed files with 8 additions and 1 deletions

View File

@@ -204,7 +204,10 @@ fn run() -> Result<(), Error> {
target_os = "dragonfly"
)))]
report.push_result(execute(|| generic::run_apm(run_type), opt.no_retry)?);
report.push_result(execute(|| generic::run_gem(&base_dirs, run_type), opt.no_retry)?);
if !opt.no_gem {
report.push_result(execute(|| generic::run_gem(&base_dirs, run_type), opt.no_retry)?);
}
#[cfg(target_os = "linux")]
{