From 0388d67817eb3d66535eefb69ad40096ad83ba2c Mon Sep 17 00:00:00 2001 From: Deluan Date: Thu, 9 Jan 2020 11:03:32 -0500 Subject: [PATCH] Clean up Makefile --- Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index e689b1487..cfca578d9 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,7 @@ -BINARY=sonic-server - +.PHONY: build build: go build -.PHONY: clean -clean: - rm -f ${BINARY} - .PHONY: setup setup: jamstash @which reflex || (echo "Installing Reflex" && GO111MODULE=off go get -u github.com/cespare/reflex) @@ -20,17 +15,18 @@ run: .PHONY: test test: - BEEGO_RUNMODE=test go test ./... -v + go test ./... -v .PHONY: convey convey: - NOLOG=1 goconvey --port 9090 -excludedDirs static,devDb,wiki,bin,tests + NOLOG=1 goconvey --port 9090 -excludedDirs static,devDb,wiki,bin,tests,Jamstash-master .PHONY: cloc cloc: # cloc can be installed using brew - cloc --exclude-dir=devDb,.idea,.vscode,wiki,static --exclude-ext=iml,xml . + cloc --exclude-dir=devDb,.idea,.vscode,wiki,static,Jamstash-master --exclude-ext=iml,xml . +.PHONY: jamstash jamstash: wget -N https://github.com/tsquillario/Jamstash/archive/master.zip unzip -o master.zip