Skip to content

Instantly share code, notes, and snippets.

@wongsyrone
Created November 4, 2018 09:55
Show Gist options
  • Save wongsyrone/eb71ff7d310e242b054b520e9371fa4e to your computer and use it in GitHub Desktop.
Save wongsyrone/eb71ff7d310e242b054b520e9371fa4e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
export GOPATH=$PWD/transsocks
GOOS=linux GOARCH=amd64 go build -a -ldflags="-s -w" github.com/cybozu-go/transocks/...
GOOS=linux GOARCH=amd64 go install -a -ldflags="-s -w" github.com/cybozu-go/transocks/...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment