diff --git a/Makefile b/Makefile index 971727d70..fb9c07dda 100644 --- a/Makefile +++ b/Makefile @@ -27,4 +27,24 @@ bindata: go-bindata -o=modules/bindata/bindata.go -ignore="\\.DS_Store|README.md" -pkg=bindata conf/... clean: - go clean -i ./... \ No newline at end of file + go clean -i ./... + +check: goimports govet + +goimports: + @echo checking go imports... + @! goimports -d . 2>&1 | egrep -v '^$$' + +govet: + @echo checking go vet... + @go tool vet -structtags=false -methods=false . + +test: + go get + go test -v $(TEST_OPTS) ./... + + + + + +