mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
13 lines
371 B
Bash
Executable File
13 lines
371 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/yq_{{.OS}}_{{.Arch}}"
|
|
# include non-default linux builds too
|
|
gox -ldflags "${LDFLAGS}" -os=linux -output="build/yq_{{.OS}}_{{.Arch}}"
|
|
|
|
cd build
|
|
rhash -r -a . -P -o checksums
|
|
|