Skip to content

Implement cargo clippy --all #1975

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

Merged
merged 6 commits into from
Aug 22, 2017
Merged

Implement cargo clippy --all #1975

merged 6 commits into from
Aug 22, 2017

Conversation

bjgill
Copy link
Contributor

@bjgill bjgill commented Aug 20, 2017

This implements workspace support for cargo clippy by running clippy
over all packages in the workspace (in serial).

This should probably be parallelised in future (as cargo build --all).

See #1707

bjgill added 4 commits August 20, 2017 05:00
This implements workspace support for `cargo clippy` by running clippy
over all packages in the workspace (in serial).

This should probably be parallelised in future (as `cargo build --all`).
@bjgill
Copy link
Contributor Author

bjgill commented Aug 20, 2017

And this fails to compile due to #1970...

.travis.yml Outdated
@@ -28,7 +28,7 @@ script:
- cargo test --features debugging
- mkdir -p ~/rust/cargo/bin
- cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
- PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy
- PATH=$PATH:~/rust/cargo/bin cargo clippy --all -- -D clippy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this means we can remove the line below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very true - removed

@oli-obk oli-obk merged commit cf1fc5d into rust-lang:master Aug 22, 2017
@oli-obk
Copy link
Contributor

oli-obk commented Aug 22, 2017

Thanks!

bjgill added a commit to bjgill/rust-clippy that referenced this pull request Aug 22, 2017
Should have added this as part of rust-lang#1975
@bjgill bjgill deleted the clippy--all branch August 22, 2017 22:42
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.

2 participants