google/closure-templates

Run StrictDepsPass in SoyHeaderCompiler

Yannic opened this issue · 1 comments

It would be great if SoyHeaderCompiler would run StrictDepsPass, so we can, e.g., fail the Build already at soy_library level and not wait until running the language generators.

Bonus points if it's possible to select between --strict_deps={OFF,WARN,ERROR}.

This should be doable. Let me try this