mirage / ocaml-crunch

Convert a filesystem into a static OCaml module
Other
74 stars 21 forks source link

Include files with no extension iff no extension has been set #48

Closed xclerc closed 5 years ago

xclerc commented 5 years ago

Currently, files with no extension are always traversed.

This PR changes the behavior so that such files are traversed if and only if no extension has been specified.

(Context: the tool was used to include all files with a specific extension, but also included files with no extension such as ".abc".)

samoht commented 5 years ago

Thanks!