mirror of
https://github.com/mudler/luet.git
synced 2025-09-16 23:31:08 +00:00
Update vendor
This commit is contained in:
25
vendor/github.com/fsouza/go-dockerclient/Makefile
generated
vendored
25
vendor/github.com/fsouza/go-dockerclient/Makefile
generated
vendored
@@ -1,32 +1,25 @@
|
||||
.PHONY: \
|
||||
all \
|
||||
lint \
|
||||
vet \
|
||||
fmtcheck \
|
||||
pretest \
|
||||
test \
|
||||
integration
|
||||
|
||||
|
||||
ifeq "$(strip $(shell go env GOARCH))" "amd64"
|
||||
RACE_FLAG := -race
|
||||
endif
|
||||
|
||||
all: test
|
||||
|
||||
lint:
|
||||
@ go get -v golang.org/x/lint/golint
|
||||
[ -z "$$(golint . | grep -v 'type name will be used as docker.DockerInfo' | grep -v 'context.Context should be the first' | tee /dev/stderr)" ]
|
||||
cd /tmp && GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
golangci-lint run
|
||||
|
||||
vet:
|
||||
go vet ./...
|
||||
|
||||
fmtcheck:
|
||||
if [ -z "$${SKIP_FMT_CHECK}" ]; then [ -z "$$(gofmt -s -d *.go ./testing | tee /dev/stderr)" ]; fi
|
||||
|
||||
testdeps:
|
||||
go get -u github.com/golang/dep/cmd/dep
|
||||
dep ensure -v
|
||||
|
||||
pretest: testdeps lint vet fmtcheck
|
||||
pretest: lint
|
||||
|
||||
gotest:
|
||||
go test -race ./...
|
||||
go test $(RACE_FLAG) -vet all ./...
|
||||
|
||||
test: pretest gotest
|
||||
|
||||
|
Reference in New Issue
Block a user