yq/scripts/xcompile.sh

8 lines
224 B
Bash
Raw Normal View History

2015-09-28 23:39:44 +00:00
#!/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}}"
2015-09-28 23:39:44 +00:00