fix: all tests

This commit is contained in:
Eric
2026-03-04 09:24:37 +01:00
parent 6ad3333d2b
commit f7204035f0
8 changed files with 62 additions and 11 deletions

View File

@@ -3,6 +3,6 @@ set -euo pipefail
rule_file="$1"
grep -Eq 'set -euo pipefail' "${rule_file}"
grep -Eq 'src_args = " "\.join\(\[_shell_quote\(src\.short_path\) for src in ctx\.files\.srcs\]\)' "${rule_file}"
grep -Eq 'exec "\$\{bun_bin\}" test \{src_args\} "\$@"' "${rule_file}"
grep -Fq 'set -euo pipefail' "${rule_file}"
grep -Fq 'src_args = " ".join([_shell_quote(src.short_path) for src in ctx.files.srcs])' "${rule_file}"
grep -Fq 'exec "${{bun_bin}}" test {src_args} "$@"' "${rule_file}"