diff options
| author | horus_arch | 2015-03-20 01:01:30 +0100 |
|---|---|---|
| committer | horus_arch | 2015-03-20 01:01:30 +0100 |
| commit | 039fb0ce71d132a1dfe93b516bc5953dcb61285e (patch) | |
| tree | 0680bf2d0d42a7c8f4f5dfe0b579277edfc38198 /Makefile | |
| parent | 77b167ceae8904d827571a0ba7bfa13fac28a40e (diff) | |
| download | freemail-039fb0ce71d132a1dfe93b516bc5953dcb61285e.tar.gz | |
Bundling functionality in server.go and improving code flow.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |
