scripts: build go get ./... early to speed up builds
This commit is contained in:
parent
415fb2c935
commit
45ad452c3b
|
@ -26,6 +26,9 @@ if [ ! -z $PACKER_RACE ]; then
|
||||||
PACKER_RACE="-race"
|
PACKER_RACE="-race"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -e "${OK_COLOR}--> Installing dependencies to speed up builds...${NO_COLOR}"
|
||||||
|
go get ./...
|
||||||
|
|
||||||
# Compile the main Packer app
|
# Compile the main Packer app
|
||||||
echo -e "${OK_COLOR}--> Compiling Packer${NO_COLOR}"
|
echo -e "${OK_COLOR}--> Compiling Packer${NO_COLOR}"
|
||||||
go build \
|
go build \
|
||||||
|
|
Loading…
Reference in New Issue