rhysd / cargo-husky

Setup Git hooks automatically for cargo projects with :dog:
https://crates.io/crates/cargo-husky
MIT License
325 stars 20 forks source link

Add a way to not add hooks during tests #8

Closed Cogitri closed 5 years ago

Cogitri commented 5 years ago

It'd be nice if there was something like DONT_INSTALL_HUSKY_HOOKS to not install hooks when cargo test is run.

Related: https://github.com/Cogitri/gxi/issues/199