test: add missing implementation-plan test targets

This commit is contained in:
Eric
2026-03-04 08:15:30 +00:00
parent f5d42b24db
commit c823d3ec19
18 changed files with 205 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
rule_file="$1"
grep -Eq 'def _output_name\(target_name, entry\):' "${rule_file}"
grep -Eq 'return "\{\}__\{\}\\.js"\.format\(target_name, stem\)' "${rule_file}"
grep -Eq 'inputs = depset\(' "${rule_file}"
grep -Eq 'direct = \[entry\] \+ ctx\.files\.data' "${rule_file}"