def made.lic
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
1198# the found files placed and weighed, once none lies under a directory named
1199# license, which bend refuses before it mines
1200def made.lic(ok: Bool, +bad: String, +root: String, +pre: String, +out: List<&2, Hit>) -> Walked:
1201 match ok:
1202 case True{}:
1203 made.placed(root, pre, out)
1204 case False{}:
1205 Refused{"ez: " ++ bad ++ " is in a directory named license, which clashes with a LICENSE file"}