add utils_test

This commit is contained in:
Christoph Polcin
2014-10-23 11:15:28 +02:00
parent 95f1f68142
commit d002be5074
2 changed files with 22 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ BIN := bin
CLIENT := ${BIN}/client
GOPATH ?= ${PWD}
all: client
all: test client
client: ${CLIENT}
@@ -11,6 +11,9 @@ ${CLIENT}: ${SRC}
@echo build $@
@GOPATH=${GOPATH} go build -o $@ -- main/client.go
test:
@GOPATH=${GOPATH} go test
clean:
@echo clean ${BIN}
@rm -f ${BIN}/*