Skip to content

Instantly share code, notes, and snippets.

@vodrazka
Created May 9, 2016 21:37
Show Gist options
  • Save vodrazka/3c2c64b06d51877325d862825b53d678 to your computer and use it in GitHub Desktop.
Save vodrazka/3c2c64b06d51877325d862825b53d678 to your computer and use it in GitHub Desktop.
#!/bin/bash
GOOS=linux GOARCH=arm GOARM=7 go build . && \
scp ${PWD##*/} pi@$1:~/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment