Uses old Rust 2015
|0.1.0||Sep 11, 2018|
#15 in #watcher
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/Aaronepower/hera.git $ cd hera $ cargo build --release
# sudo mv target/release/hera /usr/local/bin
- Create a folder for hera
- search for
- open "edit your enviroment variables"
- append folder path to the end of the string ie:
hera 0.1.0 Aaron P. <email@example.com> + Contributors A program for checking if there were code changes between git commits. USAGE: hera [FLAGS] [OPTIONS] [input]... FLAGS: -h, --help Prints help information -q, --quiet Do not output to stdout. -V, --version Prints version information OPTIONS: -f, --filter <filter> Filters by language, seperated by a comma. i.e. -t=Rust,C ARGS: <input>... The git repositories to be checked. Defaults to the current directory.
# Run cargo build if there were code changes hera && cargo build