Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
BUILD: Make deploy.sh use build.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-smith committed Aug 25, 2018
1 parent 45452ca commit ef4c7be
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ if [ ! -z "$TRAVIS_TAG" ] &&
[ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo "This will deploy!"

# Cross-compile for all platforms
export CGO_ENABLED=1
docker pull karalabe/xgo-latest
go get github.com/karalabe/xgo
mkdir dist/ && cd dist/
xgo --targets=windows/386,windows/amd64,darwin/amd64,linux/386,linux/amd64,linux/arm ../
chmod +x *
./build.sh

cd dist

# Copy libwinpthread-1.dll (user must rename the dll for their system to libwinpthread-1.dll)
cp ../.travis/win32/libwinpthread-1.dll libwinpthread-1.win32.dll
Expand Down

0 comments on commit ef4c7be

Please sign in to comment.