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
|
|
|
|
|
2020-01-10 22:55:24 +00:00
|
|
|
gox -ldflags "${LDFLAGS}" -output="build/yq_{{.OS}}_{{.Arch}}"
|
2018-07-22 23:16:52 +00:00
|
|
|
# include non-default linux builds too
|
2020-01-10 22:55:24 +00:00
|
|
|
gox -ldflags "${LDFLAGS}" -os=linux -output="build/yq_{{.OS}}_{{.Arch}}"
|
2015-09-28 23:39:44 +00:00
|
|
|
|