Open expipiplus1 opened 3 years ago
Probably, I haven't thought about that approach. Contributions welcome.
Not sure if that will hold for cases where several exes/tests share a common directory and each one picks different modules from it (maybe sharing some of them?) I think ghcide/hls is stricter nowadays with module targets and it does not discover modules dependencies in its own. TBH Dont know for sure if before that change it caused issues. Afair for libs we are using the hs-source-dir with no issues.
If a directory is only used by a single component, would it make sense to just attach that directory to a component, instead of listing the files in there individually? This might mean neater hie.yaml files, as well as be a bit more resilient to extra files appearing.