test: add missing implementation-plan test targets
Co-authored-by: Eriyc <50216491+Eriyc@users.noreply.github.com>
This commit is contained in:
9
tests/bundle_test/verify_hermetic_shape.sh
Executable file
9
tests/bundle_test/verify_hermetic_shape.sh
Executable 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}"
|
||||
Reference in New Issue
Block a user