Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --clean-per-version flag #120

Merged
merged 1 commit into from
Apr 3, 2021
Merged

Add --clean-per-version flag #120

merged 1 commit into from
Apr 3, 2021

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Apr 3, 2021

--clean-per-version
    Remove artifacts per Rust version.

    Note that dependencies artifacts will also be removed.

    This flag can only be used together with --version-range flag.
$ cargo hack check --version-range 1.50.. --clean-per-version -v
info: running `cargo clean`
info: running `cargo +1.50 check --manifest-path Cargo.toml` (1/2)
   Compiling ...
    Finished dev [unoptimized + debuginfo] target(s) in 7.70s
info: running `cargo clean`
info: running `cargo +1.51 check --manifest-path Cargo.toml` (2/2)
   Compiling ...
    Finished dev [unoptimized + debuginfo] target(s) in 9.2

Closes #119

@taiki-e
Copy link
Owner Author

taiki-e commented Apr 3, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 3, 2021

Build succeeded:

@bors bors bot merged commit c4dcdab into main Apr 3, 2021
@bors bors bot deleted the clean-per-version branch April 3, 2021 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to run cargo clean between different compiler versions
1 participant