Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rad committed Oct 16, 2015
1 parent ff2d857 commit 974edfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
application/version.go
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ godep go test -cover $dir/...
# build
if `command -v parallel >/dev/null 2>&1`; then
echo -e "darwin\nwindows\nlinux" | parallel --will-cite -j10 --workdir . "GOOS={} GOARCH=amd64 godep go build -o dist/{}-amd64/green-garden"
mv dist/windows-amd64/green-garden dist/windows-amd64/green-garden.exe
# mv dist/windows-amd64/green-garden dist/windows-amd64/green-garden.exe
else
GOOS=darwin GOARCH=amd64 godep go build -o dist/darwin-amd64/green-garden
GOOS=windows GOARCH=amd64 godep go build -o dist/windows-amd64/green-garden.exe
# GOOS=windows GOARCH=amd64 godep go build -o dist/windows-amd64/green-garden.exe
GOOS=linux GOARCH=amd64 godep go build -o $dir/dist/linux-amd64/green-garden
fi

Expand Down

0 comments on commit 974edfb

Please sign in to comment.