Crates.io | hera |
lib.rs | hera |
version | 0.1.0 |
source | src |
created_at | 2018-09-11 00:10:57.244045 |
updated_at | 2018-09-11 00:10:57.244045 |
description | A program for checking if there were code changes between git commits. |
homepage | |
repository | https://github.com/Aaronepower/hera.git |
max_upload_size | |
id | 84029 |
size | 31,414 |
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
env
PATH
<path>;C:/hera/;
hera 0.1.0
Aaron P. <theaaronepower@gmail.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