Skip to content

Commit

Permalink
Improve build-all.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Bataev committed Mar 22, 2017
1 parent 11de64d commit 8cd82a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-all.sh
Expand Up @@ -2,6 +2,11 @@

version=$1

if [ -z "$version" ]; then
echo "Usage: build-all.sh <version>"
exit
fi

GOOS=darwin GOARCH=amd64 go build
zip joker-$version-mac-amd64.zip joker
GOOS=linux GOARCH=amd64 go build
Expand Down

0 comments on commit 8cd82a9

Please sign in to comment.