Skip to content

Commit

Permalink
Fix distil commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Aug 18, 2018
1 parent 5ea34eb commit 6def9ba
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions distil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@ set -eux
MOON="moonshine"
DIR="release"
mkdir "$DIR"
env GOOS=windows GOARCH=386 go build
export GOOS=windows
export GOARCH=386
go build
mv "$MOON".exe "${DIR}/${MOON}"-win386.exe
env GOOS=windows GOARCH=amd64 go build
export GOOS=windows
export GOARCH=amd64
go build
mv "$MOON".exe "${DIR}/${MOON}"-win64.exe
env GOOS=linux GOARCH=amd64 go build
export GOOS=linux
export GOARCH=amd64
go build
mv "$MOON" "${DIR}/${MOON}"-linux64
env GOOS=darwin GOARCH=386 go build
export GOOS=darwin
export GOARCH=386
go build
mv "$MOON" "${DIR}/${MOON}"-darwin386
env GOOS=darwin GOARCH=amd64 go build
export GOOS=darwin
export GOARCH=amd64
go build
mv "$MOON" "${DIR}/${MOON}"-darwinAmd64
export GOOS=
export GOARCH=

0 comments on commit 6def9ba

Please sign in to comment.