2

In any of the build tools commonly used in Haskell projects (i.e stack, cabal, or hpack), is it possible to have a source directory which contains source files with a different extension (i.e. other than *.hs or *.lhs)?

I need to have source files with multiple extensions, such as *.md.lhs, or *.rst.lhs because the same directly needs to be used by stack/cabal, but the second extension is meaningful to a custom shake script that I'm writing.

It seems that cabal/stack are ignoring any files with *.*.lhs

Saurabh Nanda
  • 6,373
  • 5
  • 31
  • 60

0 Answers0