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

Manage Clippy pre-commit hook via Ansible #108

Closed
phansch opened this issue Aug 29, 2019 · 2 comments
Closed

Manage Clippy pre-commit hook via Ansible #108

phansch opened this issue Aug 29, 2019 · 2 comments

Comments

@phansch
Copy link
Owner

phansch commented Aug 29, 2019

Ansible should write the pre-commit file to ~/code/rust-clippy/.git/hooks/pre-commit.

The contents currently are:

#!/bin/sh

./util/dev update_lints --check
./util/dev fmt
cargo uitest
@phansch
Copy link
Owner Author

phansch commented Aug 29, 2019

This should probably also include cargo uitest.. (see rust-lang/rust-clippy#4450 (comment))

@phansch
Copy link
Owner Author

phansch commented Sep 1, 2019

The rust repo should also include ./x.py test src/tools/tidy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant