Commit ddeefdce authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

scripts: ignore errors on gox for now

parent fd540172
...@@ -37,12 +37,14 @@ mkdir -p bin/ ...@@ -37,12 +37,14 @@ mkdir -p bin/
# Build! # Build!
echo "==> Building..." echo "==> Building..."
set +e
gox \ gox \
-os="${XC_OS}" \ -os="${XC_OS}" \
-arch="${XC_ARCH}" \ -arch="${XC_ARCH}" \
-ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \ -ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \
-output "pkg/{{.OS}}_{{.Arch}}/packer-{{.Dir}}" \ -output "pkg/{{.OS}}_{{.Arch}}/packer-{{.Dir}}" \
./... ./...
set -e
# Make sure "packer-packer" is renamed properly # Make sure "packer-packer" is renamed properly
for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment