From 44d612389423a326ee3327afdc18ead961f7a28f Mon Sep 17 00:00:00 2001 From: Eli Shvartsman Date: Wed, 15 Apr 2015 13:08:37 +0300 Subject: [PATCH] get dependencies without installing them For now, make dev creates in ${MAIN_GOPATH}/bin/ files like 'provider-google' alongside with 'terraform-provider-google'. If we decided to build plugins with custom names and install them manually with 'cp' command, it could make sense not to do it here. --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 4433d8f9b..4740645b7 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,10 +19,10 @@ GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true) XC_ARCH=${XC_ARCH:-"386 amd64 arm"} XC_OS=${XC_OS:-linux darwin windows freebsd openbsd} -# Install dependencies unless running in quick mode +# Get dependencies unless running in quick mode if [ "${TF_QUICKDEV}x" == "x" ]; then echo "==> Getting dependencies..." - go get ./... + go get -d ./... fi # Delete the old dir