Files
rules_bun/tests/library_test/verify_bundle.sh

10 lines
170 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
bundle="$1"
if [[ ! -s "${bundle}" ]]; then
echo "Expected bundled output to exist and be non-empty: ${bundle}" >&2
exit 1
fi