Files
rules_bun/tests/script_test/run_env_script.sh
2026-03-06 19:51:52 +01:00

11 lines
200 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
binary="$1"
output="$(${binary})"
if [[ ${output} != "from-dotenv" ]]; then
echo "Expected .env value from package directory, got: ${output}" >&2
exit 1
fi