Merged
Conversation
Member
|
:hype:! 🎉 |
777800a to
05ec013
Compare
Also consistently build the hook using `cargo install`.
Member
Author
|
Travis and AppVeyor are both passing :D It adds about 20 seconds to the Travis pre-install step which isn't great but probably okay? (swift adds like 23 seconds /shrug) I tested this out with shellharden, a real Rust linter (and a pretty cool one), and it seems to work. Going to try this with a couple other linters (maybe clippy) before I check off that box. |
asottile
approved these changes
May 24, 2018
Member
Author
|
Tried this out with some real Rust linters: shellharden, systemd-linter, rustfmt-nightly, and clippy via the mirror maker, they all worked :D. Gonna check off that box, just need to make local hooks work and then I think this will be good to merge. |
asottile
approved these changes
May 25, 2018
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Here's an example hook that works: https://github.com/chriskuehl/example-rust-pre-commit-hook
Filing the PR a bit early so I can take advantage of Travis to run CI.
Still TODO:
Cargo.tomlto the template)