Added Makefile

This commit is contained in:
Mahmoud Al-Qudsi 2017-12-05 21:59:28 -06:00
parent 0e99ab0eb6
commit f14dc522f7
1 changed files with 34 additions and 0 deletions

34
Makefile Normal file
View File

@ -0,0 +1,34 @@
CARGO = cargo
.PHONY: all bench build check clean doc install publish run test update
all: build
bench:
@$(CARGO) bench
build:
@env TERM=xterm-256color $(CARGO) build --color=always 2>&1
check: build test
clean:
@$(CARGO) clean
doc:
@$(CARGO) doc
install:
@$(CARGO) install
publish:
@$(CARGO) publish
run: build
@$(CARGO) run
test:
@$(CARGO) test
update:
@$(CARGO) update