Builds a go package on a real linux host (e.g. a local VM) and (optionally) uploads the binary to a specific host (via ssh) or S3 bucket.
All local dependencies are uploaded to the linux box before building (from the current GOPATH) so no extra dependencies need to be fetched on the linux host.
Usage of go-remote-build:
-bucket="": Upload binary to s3 bucket after building
-deploy="": Deploy to host after building. Example: [email protected]
-dir="": Dir to build. Default: current directory
-host="[email protected]": Host to build on. Example: [email protected]
-verbose=false: Build using -v flag