From 039fb0ce71d132a1dfe93b516bc5953dcb61285e Mon Sep 17 00:00:00 2001 From: horus_arch Date: Fri, 20 Mar 2015 01:01:30 +0100 Subject: Bundling functionality in server.go and improving code flow. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 60270b1..a03ba1c 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,15 @@ # Modify env.sh and uncomment to change config. include env.sh -# Start the race detector with "TEST_RACE=1 make test" on the command line. -ifdef TEST_RACE +# Start the race detector with "RACE=1 make test" on the command line. +ifdef RACE RACE:=-race else RACE:= endif -# To be verbose while testing use TEST_VERBOSE=1. -ifdef TEST_VERBOSE +# To be verbose while testing use VERBOSE=1. +ifdef VERBOSE VERBOSE:=-v else VERBOSE:= @@ -83,7 +83,7 @@ pack: gen_config (echo "Run \"make build\" first." && exit 1) test: import - FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE) #-tags general + FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE) @(rm $(IMPORT_FILE) 2>/dev/null && echo "Removing import file..." ) || true test_all: import -- cgit v1.2.3