hera

Crates.iohera
lib.rshera
version0.1.0
sourcesrc
created_at2018-09-11 00:10:57.244045
updated_at2018-09-11 00:10:57.244045
descriptionA program for checking if there were code changes between git commits.
homepage
repositoryhttps://github.com/Aaronepower/hera.git
max_upload_size
id84029
size31,414
(XAMPPRocky)

documentation

README

Hera

Linux build status Windows build status Documentation Donate using Liberapay 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.

Installation

Binary

Automatic
cargo install hera
Manual

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
Linux/OSX
# sudo mv target/release/hera /usr/local/bin
Windows
  • 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/;

Help

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.

Example

# Run cargo build if there were code changes
hera && cargo build
Commit count: 12

cargo fmt