From e83f5dfda602204ffc493ed53975e66ab126f190 Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Tue, 16 Aug 2016 20:39:16 -0700 Subject: [PATCH] keep vendor and godep folders in client repo --- staging/src/k8s.io/client-go/copy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/client-go/copy.sh b/staging/src/k8s.io/client-go/copy.sh index 2e5027b3717..f94629b496f 100755 --- a/staging/src/k8s.io/client-go/copy.sh +++ b/staging/src/k8s.io/client-go/copy.sh @@ -65,13 +65,13 @@ echo "move to the client repo" ls "${CLIENT_REPO}" | grep -v '_tmp' | xargs rm -r mv "${CLIENT_REPO_TEMP}"/* "${CLIENT_REPO}" rm -r "${CLIENT_REPO_TEMP}" -rm -r "${CLIENT_REPO}"/Godeps echo "moving vendor/k8s.io/kuberentes" cp -rn "${CLIENT_REPO}"/vendor/k8s.io/kubernetes/. "${CLIENT_REPO}"/ +rm -rf "${CLIENT_REPO}"/vendor/k8s.io/kubernetes # client-go will share the vendor of the main repo for now. When client-go # becomes a standalone repo, it will have its own vendor -rm -r "${CLIENT_REPO}"/vendor +mv "${CLIENT_REPO}"/vendor "${CLIENT_REPO}"/_vendor # remove the pkg/util/net/sets/README.md to silent hack/verify-munge-docs.sh # TODO: probably we should convert the README.md a doc.go find ./ -name "README.md" -delete