Updated Makefile with respective vendor-update commands

This commit is contained in:
Suraj Narwade 2017-11-27 12:28:32 +05:30
parent c7d6bc63d9
commit d02492ad59

View File

@ -112,6 +112,15 @@ test-image:
test-container: test-container:
docker run -v `pwd`:/opt/tmp/kompose:ro -it $(TEST_IMAGE) docker run -v `pwd`:/opt/tmp/kompose:ro -it $(TEST_IMAGE)
# Update vendoring
# Vendoring is a bit messy right now
.PHONY: vendor-update
vendor-update:
glide update --strip-vendor
glide-vc --only-code --no-tests
find ./vendor/github.com/docker/distribution -type f -exec sed -i 's/Sirupsen/sirupen/g' {} \;
.PHONE: test-k8s .PHONE: test-k8s
test-k8s: test-k8s:
./script/test_k8s/test.sh ./script/test_k8s/test.sh