Skip to content

Commit

Permalink
Install dependencies before crosscompiling (fixes #27)
Browse files Browse the repository at this point in the history
  • Loading branch information
surma committed May 30, 2017
1 parent ad2336d commit 16c5a52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crosscompile.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

go get -d ./...
for target in darwin:amd64 linux:amd64 linux:386 linux:arm windows:amd64; do
echo "Compiling $target"
export GOOS=$(echo $target | cut -d: -f1) GOARCH=$(echo $target | cut -d: -f2)
Expand Down

0 comments on commit 16c5a52

Please sign in to comment.