bazel-lib/e2e/run_jq_symlinked_bin.sh

15 lines
283 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
BZLMOD_FLAG="${BZLMOD_FLAG:-}"
case "$(uname -s)" in
2023-12-08 08:30:39 +00:00
CYGWIN* | MINGW32* | MSYS* | MINGW*)
bazel run $BZLMOD_FLAG @jq//:jq.exe -- --null-input .a=5
;;
2023-12-08 08:30:39 +00:00
*)
bazel run $BZLMOD_FLAG @jq//:jq -- --null-input .a=5
;;
esac