bazel-lib/e2e/run_yq_symlinked_bin.sh

13 lines
212 B
Bash
Executable File

#!/bin/bash
set -e
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