spiegel_podman/vendor/github.com/fsouza/go-dockerclient/Makefile
Nalin Dahyabhai a4a70b4506 bump containers/image to v5.0.0, buildah to v1.11.4
Move to containers/image v5 and containers/buildah to v1.11.4.

Replace an equality check with a type assertion when checking for a
docker.ErrUnauthorizedForCredentials in `podman login`.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2019-10-29 13:35:18 -04:00

27 lines
406 B
Makefile

.PHONY: \
all \
lint \
fmt \
pretest \
test \
integration
all: test
lint:
cd /tmp && GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest
golangci-lint run
fmt:
GO111MODULE=off go get mvdan.cc/gofumpt
gofumpt -s -w .
pretest: lint
gotest:
go test -race -vet all ./...
test: pretest gotest
integration:
go test -tags docker_integration -run TestIntegration -v