fix(circleci): maintain vcs on repository

pull/376/head
Adam Reese 9 years ago
parent 946fa6375c
commit ad41105fa2

@ -12,7 +12,7 @@ dependencies:
- cd $GOPATH
- mkdir -p $GOPATH/src/$IMPORT_PATH
- cd $HOME/deployment-manager
- rsync -azC --delete ./ "$GOPATH/src/$IMPORT_PATH/"
- rsync -az --delete ./ "$GOPATH/src/$IMPORT_PATH/"
- wget "https://github.com/Masterminds/glide/releases/download/$GLIDE_VERSION/glide-$GLIDE_VERSION-linux-amd64.tar.gz"
- mkdir -p $HOME/bin
- tar -vxz -C $HOME/bin --strip=1 -f glide-$GLIDE_VERSION-linux-amd64.tar.gz

@ -22,12 +22,10 @@ readonly red=$(tput bold; tput setaf 1)
readonly green=$(tput bold; tput setaf 2)
readonly yellow=$(tput bold; tput setaf 3)
readonly REPO=github.com/kubernetes/deployment-manager
exit_code=0
find_go_files() {
git -C "${GOPATH}/src/${REPO}" ls-files '*.go'
git ls-files '*.go'
}
echo "==> Running golint..."

Loading…
Cancel
Save