Skip to content

Commit

Permalink
poor man's cross compile
Browse files Browse the repository at this point in the history
  • Loading branch information
bensie committed Mar 2, 2017
1 parent cd6a9a9 commit 0b8639a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

GOOS=linux GOARCH=amd64 go build .
mv elb_health_check elb_health_check_linux_amd64
GOOS=linux GOARCH=386 go build .
mv elb_health_check elb_health_check_linux_386
GOOS=darwin GOARCH=amd64 go build .
mv elb_health_check elb_health_check_darwin_amd64

0 comments on commit 0b8639a

Please sign in to comment.