yq/scripts/xcompile.sh
2017-09-23 01:08:39 -04:00

8 lines
224 B
Bash
Executable File

#!/bin/bash
# This assumes that gonative and gox is installed as per the 'one time setup' instructions
# at https://github.com/inconshreveable/gonative
gox -ldflags "${LDFLAGS}" -output="build/{{.Dir}}_{{.OS}}_{{.Arch}}"