cargo-husky
cargo-husky copied to clipboard
Setup Git hooks automatically for cargo projects with :dog:
Hiya @rhysd I wonder if you tried the CARGO_PRIMARY_PACKAGE fix and whether this fixes it ? https://github.com/rhysd/cargo-husky/issues/34#issuecomment-1122587937 Best would be if you could somehow magically come up with a fix,...
Hi. Someone I know was recently surprised to discover some things cargo-husky had done on their system. On reflection, I concluded that the behaviour, while intentional, is something that a...
This patch rearranges the order of the commands in the hook scripts created by cargo-husky to match their expected execution time. For example, "cargo fmt" should be significantly faster to...
This is just like `run-cargo-fmt`, except it formats code without user intervention. I find this to be great optional behavior – as a dev it's a mindless task to run...
when i use cargo-about to automate the attribution, i am getting this warning for cargo-husky ``` [WARN] crate 'cargo-husky 1.5.0' doesn't have a license field ``` was wondering if it...
Would be much appreciated, thanks!
This pull request fixes #25. Some git clients don't create the `hooks` folder inside the `.git` dir. With this changes, cargo-husky creates this folder while installing the hooks.
For cargo-husky users that are new to Rust and the cargo system, it might be unclear how to let updated cargo-husky feature changes in `Cargo.toml` also update the Git hooks....
GitHub Actions are free for public repos AND very handy for running checks on PRs (IMO nicer than Travis/Appveyor). :)
I received a PR on my repo (rash-sh/rash#90) to implement a more powerful subset of hooks. I had `cargo-husky` workings previously but when I'm going to tested this new change...