hooksmith-1.0.1 has been yanked.
Features
- ⚙️ Automate the hooks installation process with
build.rsfiles. - 💻 Run hooks locally without triggering them via Git.
Installation
With Cargo
You can install it using cargo:
Build Dependency
You can add it as a build dependency:
Then create a build.rs file:
use Path;
Usage
Create a configuration file named monk.yaml in your project root:
pre-commit:
commands:
- cargo fmt --all -- --check
- cargo clippy --workspace --release --all-targets --all-features -- --deny warnings
pre-push:
commands:
- cargo test