CARGO = cargo


.PHONY: build clean publish run test tokei


run:
	@$(CARGO) run

test:
	@$(CARGO) test

build:
	@$(CARGO) build --release

publish:
	@$(CARGO) publish \
		--registry crates-io \
		--allow-dirty

clean:
	@$(CARGO) clean

tokei:
	@$(CARGO) install $@ && \
		$@ --num-format commas
