Hera checks if there were actual code changes in the last commit in git repositories. Allowing you to skip building your project if only documentation or comments have changed. This is mainly useful for projects that have really long build times. Hera supports all languages supported by tokei.
cargo install hera
You can download prebuilt binaries in the releases section or create one from source.
$ git clone https://github.com/XAMPPRocky/hera.git
$ cd hera
$ cargo build --release
# sudo mv target/release/hera /usr/local/bin
- Create a folder for hera
- search for
env
- open "edit your enviroment variables"
- edit
PATH
- append folder path to the end of the string ie:
<path>;C:/hera/;
# Run cargo build if there were code changes
hera && cargo build