revparse 3.0.4

GNU Style CLI Argument Parser, that's easy to use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# PRODUCTION MAKEFILE

revparse:
	@cargo build --release

install: revparse
	@if [ "$(shell whoami)" != "root" ]; then \
		echo "You must be root to install this package!"; \
		exit 1; \
	fi
	@install -Dm755 target/release/revparse /usr/local/bin/revparse
	@echo "Installed to /usr/local/bin/revparse"

clean:
	@cargo clean