by sacado2 · 8y ago · 0 comments
GOOS=linux GOARCH=386 go build foo && scp foo user@server:
That's a lot of time saved, especially when you do it on a daily basis, and not something you can do as easily with virtualenv and such.Usage would be
python foo/setup.py bdist_xar && scp foo/dist/foo.xar user@server
if my understanding is correct.