From 1020a23c0e796c0b66946d1fc1da0801605b34ad Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sat, 9 Dec 2017 12:58:35 -0600 Subject: [PATCH] Added Makefile from https://github.com/neosmart/cargomake --- Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a9e37da --- /dev/null +++ b/Makefile @@ -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