|
|
|
@ -27,4 +27,24 @@ bindata:
|
|
|
|
|
go-bindata -o=modules/bindata/bindata.go -ignore="\\.DS_Store|README.md" -pkg=bindata conf/...
|
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
|
go clean -i ./...
|
|
|
|
|
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) ./...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|