Previously, walk(1) would attempt to find a "rule" in a .walk directory, or a file ending in .walk. This was somewhat problematic when you want to do some non-trivial matching against target names, where file extensions are not used (e.g. bin/walk-darwin and bin/walk-linux). By simply delegating to a single rule, that rule can then do it's own "routing" to the correct rule to execute.
Previously, walk(1) would attempt to find a "rule" in a .walk directory, or a file ending in
.walk
. This was somewhat problematic when you want to do some non-trivial matching against target names, where file extensions are not used (e.g.bin/walk-darwin
andbin/walk-linux
). By simply delegating to a single rule, that rule can then do it's own "routing" to the correct rule to execute.