Skip to content

Commit

Permalink
chore(build): exclude vendor when x-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jul 19, 2017
1 parent c3117dc commit 1e8879e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ fi
XC_ARCH=${XC_ARCH:-"386 amd64 arm"}
XC_OS=${XC_OS:-linux darwin windows freebsd openbsd}

# Install dependencies
echo "==> Getting dependencies..."
go get ./...

# Delete the old dir
echo "==> Removing old directory..."
rm -f bin/*
Expand All @@ -41,9 +37,8 @@ set +e
gox \
-os="${XC_OS}" \
-arch="${XC_ARCH}" \
-ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \
-output "pkg/{{.OS}}_{{.Arch}}/packer-{{.Dir}}" \
./...
./plugin/provisioner-dsc
set -e

# Move all the compiled things to the $GOPATH/bin
Expand Down

0 comments on commit 1e8879e

Please sign in to comment.