Merge branch 'skip-dev-push' into 'master'

Avoid pushing dev dependencies

See merge request redox-os/redox!1727
This commit is contained in:
Jeremy Soller 2025-11-30 15:24:33 -07:00
commit 6b37db810e

View File

@ -480,9 +480,9 @@ fn parse_args(args: Vec<String>) -> anyhow::Result<(CliConfig, CliCommand, Vec<C
} }
CookRecipe::get_build_deps_recursive( CookRecipe::get_build_deps_recursive(
&recipe_names, &recipe_names,
true, !command.is_pushing(),
// In CliCommand::Cook, is_deps==true will make it skip checking source // In CliCommand::Cook, is_deps==true will make it skip checking source
command == CliCommand::Tree || !config.with_package_deps, command.is_pushing() || !config.with_package_deps,
)? )?
} else { } else {
recipe_names recipe_names