Skip to content

Commit

Permalink
add script to build binaries for release
Browse files Browse the repository at this point in the history
  • Loading branch information
xoebus committed May 25, 2016
1 parent 45bae67 commit 4849f28
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

workspace=$(mktemp -d)

for platform in linux darwin; do
echo "building ${platform}..."
env GOOS=${platform} GOARCH=amd64 CGO_ENABLED=0 \
go build -o ${workspace}/fly_${platform} github.com/contraband/gaol
done

open ${workspace}

0 comments on commit 4849f28

Please sign in to comment.