build.sh 179 Bytes
#!/bin/bash

GOPATH=$PWD go get -v service-web && \
GOPATH=$PWD GOARCH=arm GOOS=linux go build service-web && \
mkdir -p bin/linux_arm && \
mv service-web bin/linux_arm/

exit $?