This repository was archived by the owner on Jul 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ lint: ## run linter(s)
111
111
vendor : build_dev_image
112
112
$(info Update Vendoring...)
113
113
rm -rf ./vendor
114
- docker rm -f docker-app-vendoring || echo " "
114
+ docker rm -f docker-app-vendoring || true
115
115
docker create --name docker-app-vendoring -v docker-app-vendor-cache://dep-cache -e DEPCACHEDIR=//dep-cache $(DEV_IMAGE_NAME ) sh -c " rm -rf ./vendor && make vendor"
116
116
docker start -i -a docker-app-vendoring
117
117
docker cp docker-app-vendoring:/go/src/github.com/docker/app/vendor .
@@ -120,8 +120,10 @@ vendor: build_dev_image
120
120
$(warning You may need to reset permissions on vendor/* )
121
121
122
122
clean-vendor-cache :
123
- docker rm -f docker-app-vendoring || echo " "
124
- docker volume rm -f docker-app-vendor-cachecheck-vendor: build_dev_image
123
+ docker rm -f docker-app-vendoring || true
124
+ docker volume rm -f docker-app-vendor-cache
125
+
126
+ check-vendor : build_dev_image
125
127
$(info Check Vendoring...)
126
128
docker run --rm $(DEV_IMAGE_NAME ) sh -c " make vendor && hack/check-git-diff vendor"
127
129
You can’t perform that action at this time.
0 commit comments