Added Makefile from https://github.com/neosmart/cargomake
1 changed files with 34 additions and 0 deletions
@ -0,0 +1,34 @@
@@ -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
|
Loading…
Reference in new issue