summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-06-25 15:33:39 -0400
committer=Corey Hulen <corey@hulen.com>2015-06-25 15:33:39 -0400
commit8e6609d177287249d308c2e359509c6f84bef7ba (patch)
tree298258d11e18fc297bedf21debe74a31b4203dd7 /Makefile
parent8eab2431720acf27af1f9d4eff84e8b50a4d184d (diff)
downloadchat-8e6609d177287249d308c2e359509c6f84bef7ba.tar.gz
chat-8e6609d177287249d308c2e359509c6f84bef7ba.tar.bz2
chat-8e6609d177287249d308c2e359509c6f84bef7ba.zip
updating build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c1103f1ea..b3ad75450 100644
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,15 @@ all: travis
travis:
@echo building for travis
+
+ @cd web/react/ && npm install
+
@go build $(GOFLAGS) ./...
+ @mkdir -p logs
+
+ @go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=12s ./model || exit 1
+
build:
@go build $(GOFLAGS) ./...