From fd64600414a84b8a617ed119c4f3b16b6d6e7933 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 21 Aug 2013 11:20:55 -0700 Subject: [PATCH] scripts: build go get ./... early to speed up builds --- scripts/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index 5d0059da0..cf9c3d3cf 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -26,6 +26,9 @@ if [ ! -z $PACKER_RACE ]; then PACKER_RACE="-race" fi +echo -e "${OK_COLOR}--> Installing dependencies to speed up builds...${NO_COLOR}" +go get ./... + # Compile the main Packer app echo -e "${OK_COLOR}--> Compiling Packer${NO_COLOR}" go build \