Merge pull request #890 from mtrmac/make-vendor

Fix (make vendor)
This commit is contained in:
Miloslav Trmač 2020-04-08 15:20:59 +02:00 committed by GitHub
commit 1f321dfc69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,10 +184,9 @@ test-unit-local:
$(GPGME_ENV) $(GO) test $(MOD_VENDOR) -tags "$(BUILDTAGS)" $$($(GO) list $(MOD_VENDOR) -tags "$(BUILDTAGS)" -e ./... | grep -v '^github\.com/containers/skopeo/\(integration\|vendor/.*\)$$')
vendor:
export GO111MODULE=on \
$(GO) mod vendor && \
$(GO) mod tidy && \
$(GO) mod verify
$(GO) mod vendor
$(GO) mod tidy
$(GO) mod verify
vendor-in-container:
podman run --privileged --rm --env HOME=/root -v `pwd`:/src -w /src docker.io/library/golang:1.13 make vendor