2022-12-03 07:23:57 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -o errexit -o nounset -o pipefail
|
2022-04-28 00:32:53 +00:00
|
|
|
|
2023-11-15 23:07:03 +00:00
|
|
|
BZLMOD_FLAG="${BZLMOD_FLAG:-}"
|
|
|
|
|
2022-04-28 00:32:53 +00:00
|
|
|
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
|
|
|
|
;;
|
2022-04-28 00:32:53 +00:00
|
|
|
|
2023-12-08 08:30:39 +00:00
|
|
|
*)
|
|
|
|
bazel run $BZLMOD_FLAG @jq//:jq -- --null-input .a=5
|
|
|
|
;;
|
2022-04-28 00:32:53 +00:00
|
|
|
esac
|