Gate every build rule on the kind of leaf it writes for

Merged
JV
5d ago
+223-51

Signed-off-by: Juan Cruz Viotti jv@jviotti.com