mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-26 13:30:30 +00:00
12 lines
250 B
Bash
Executable file
12 lines
250 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
case "$(uname -s)" in
|
|
CYGWIN*|MINGW32*|MSYS*|MINGW*)
|
|
bazel run @yq//:yq.exe -- --null-input .a=5
|
|
;;
|
|
|
|
*)
|
|
bazel run @yq//:yq -- --null-input .a=5
|
|
;;
|
|
esac |