mhgit 0.1.0

MHgit is a simple git library for interracting with git repositories.
Documentation
all : prepare

install :
	cargo install --path .

test : export CARGO_INCREMENTAL=0
test : export RUSTFLAGS=-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort
test :
	rm -f ./target/debug/deps/*.gcda
	cargo test --all-features

coverage : test
	grcov ./target/debug/ -s . -t html --llvm --branch --ignore-not-existing -o ./target/debug/coverage/
	xdg-open ./target/debug/coverage/index.html

doc :
	cargo doc --offline --no-deps --open

# Prepare for release
prepare :
	cargo fix --workspace --edition-idioms --release
	cargo clippy --verbose