summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhorus_arch2015-03-20 01:01:30 +0100
committerhorus_arch2015-03-20 01:01:30 +0100
commit039fb0ce71d132a1dfe93b516bc5953dcb61285e (patch)
tree0680bf2d0d42a7c8f4f5dfe0b579277edfc38198 /Makefile
parent77b167ceae8904d827571a0ba7bfa13fac28a40e (diff)
downloadfreemail-039fb0ce71d132a1dfe93b516bc5953dcb61285e.tar.gz
Bundling functionality in server.go and improving code flow.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
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