|
|
@ -95,7 +95,8 @@ GOBUILD = gox -osarch="!darwin/386" -rebuild -gocmd="$(GOCMD)" -arch="$(ARCHES)"
|
|
|
|
GOCLEAN = $(GOCMD) clean
|
|
|
|
GOCLEAN = $(GOCMD) clean
|
|
|
|
GOINSTALL = $(GOCMD) install -a -tags "$(BUILD_TAGS)" -ldflags "$(LDFLAGS)"
|
|
|
|
GOINSTALL = $(GOCMD) install -a -tags "$(BUILD_TAGS)" -ldflags "$(LDFLAGS)"
|
|
|
|
GOTEST = $(GOCMD) test -v -tags "$(BUILD_TAGS)"
|
|
|
|
GOTEST = $(GOCMD) test -v -tags "$(BUILD_TAGS)"
|
|
|
|
GOLINT = golangci-lint run --timeout=30s --tests
|
|
|
|
DISABLED_LINTERS = varnamelen,interfacer,ifshort,exhaustivestruct,maligned,varcheck,scopelint,structcheck,deadcode,nosnakecase,golint
|
|
|
|
|
|
|
|
GOLINT = golangci-lint run --enable-all --disable "$(DISABLED_LINTERS)" --timeout=30s --tests
|
|
|
|
GODEP = $(GOCMD) get -d -t
|
|
|
|
GODEP = $(GOCMD) get -d -t
|
|
|
|
GOFMT = goreturns -w
|
|
|
|
GOFMT = goreturns -w
|
|
|
|
GOBENCH = $(GOCMD) test -v -tags "$(BUILD_TAGS)" -cpu=$(BENCHCPUS) -run=NOTHING -bench=. -benchmem -outputdir "$(RPTDIR)"
|
|
|
|
GOBENCH = $(GOCMD) test -v -tags "$(BUILD_TAGS)" -cpu=$(BENCHCPUS) -run=NOTHING -bench=. -benchmem -outputdir "$(RPTDIR)"
|
|
|
|