Files
rules_bun/tests/script_test/run_env_script.sh
Eric a9e2be6f63
Some checks failed
CI / test (ubuntu-latest, linux-x64) (push) Failing after 37s
CI / test (macos-14, darwin-arm64) (push) Has been cancelled
CI / test (windows-latest, windows) (push) Has been cancelled
feat: bun_script
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