Allow qAddDependentFile on directories
Currently, qAddDependentFile can only be applied to files; when applied to a directory, the following exception occurs:
*** Exception: path/to/dir: openBinaryFile: inappropriate type (is a directory)
However, it can be useful to walk directory trees at compile time with TemplateHaskell, and it would be nice to ensure that rebuilds reflect changes to directory structure, even when files are not changed.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.2 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Template Haskell |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |