|
|
|
@ -77,7 +77,7 @@ LDFLAGS = -X $(PKG).Version=$(VERSION) -X $(PKG).Build=$(COMMIT_ID)
|
|
|
|
|
GOBUILD = gox -osarch="!darwin/386" -rebuild -gocmd="$(GOCMD)" -arch="$(ARCHES)" -os="$(OSES)" -output="$(OUTTPL)" -tags "$(BUILD_TAGS)" -ldflags "$(LDFLAGS)"
|
|
|
|
|
GOCLEAN = $(GOCMD) clean
|
|
|
|
|
GOINSTALL = $(GOCMD) install -a -tags "$(BUILD_TAGS)" -ldflags "$(LDFLAGS)"
|
|
|
|
|
GOTEST = $(GOCMD) test -v -tags "$(BUILD_TAGS)"
|
|
|
|
|
GOTEST = $(GOCMD) test -race -v -tags "$(BUILD_TAGS)"
|
|
|
|
|
DISABLED_LINTERS = varnamelen,interfacer,ifshort,exhaustivestruct,maligned,varcheck,scopelint,structcheck,deadcode,nosnakecase,golint,depguard
|
|
|
|
|
GOLINT = golangci-lint run --enable-all --disable "$(DISABLED_LINTERS)" --timeout=30s --tests
|
|
|
|
|
GODEP = $(GOCMD) get -d -t
|
|
|
|
|