scripts: build go get ./... early to speed up builds

This commit is contained in:
Mitchell Hashimoto 2013-08-21 11:20:55 -07:00
parent 185f176937
commit fd64600414
1 changed files with 3 additions and 0 deletions

View File

@ -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 \