You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GOFMT = gofmtresult=$$(gofmt -e -l -s ${GO_FILES} ${GO_PACKAGES}); if [[ -n $$gofmtresult ]]; then echo "gofmt errors found in the following files: $${gofmtresult}"; false; fi;
26
-
GOTEST = go test --cover --race -v
26
+
GOTEST = go test --race -v
27
27
28
28
# The tag of the commit
29
29
GIT_TAG := $(shell git tag -l --contains HEAD)
@@ -63,7 +63,6 @@ endif
63
63
64
64
build-all: build-latest build-revision
65
65
66
-
67
66
binary-build:
68
67
${DEV_ENV_PREFIX} -e GOOS=${GOOS}${DEV_ENV_IMAGE} go build -a -installsuffix cgo ${GO_LDFLAGS} -o deis .
69
68
@@ -88,18 +87,19 @@ setup-gotools:
88
87
go get -u golang.org/x/tools/cmd/cover
89
88
go get -u golang.org/x/tools/cmd/vet
90
89
91
-
test: test-style test-unit
92
-
93
90
test-style:
94
91
${DEV_ENV_CMD} bash -c '${GOFMT}'
95
92
${DEV_ENV_CMD} sh -c 'go vet $(repo_path) $(GO_PACKAGES_REPO_PATH)'
96
93
@for i in$(addsuffix /...,$(GO_PACKAGES));do\
97
94
${DEV_ENV_CMD} golint $$i;\
98
95
done
99
96
100
-
test-unit:
97
+
test: test-style
101
98
${DEV_ENV_PREFIX_CGO_ENABLED}${DEV_ENV_IMAGE} sh -c '${GOTEST} $$(glide nv)'
0 commit comments