2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-25 11:32:33 +00:00
bazel-lib/e2e/run_jq_symlinked_bin.sh

14 lines
252 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 @jq//:jq.exe -- --null-input .a=5
;;
*)
bazel run @jq//:jq -- --null-input .a=5
;;
esac