scripts/docker-build
raw| 1 | #!/bin/bash |
| 2 | # Helper script to build "jp" on all supported platforms. |
| 3 | # This script uses docker so you don't have to have the cross |
| 4 | # platform golang environment setup. Just make sure you have docker |
| 5 | # installed. The built executables will be in build/ |
| 6 | docker run --rm -v "$PWD:/go/src/jp" -w /go/src/jp golang:1.4.2-cross scripts/build-all-platforms |