I've got a library I'm building that includes a few very large strings using Template Haskell and file-embed.
I'm wondering, how do I ensure these files are included when I run Cabal dist?
The are all in a folder called core, but some are within subdirectories of core.
Cabal has an
extra-source-files
field precisely for these kinds of scenarios:Quoting the Cabal User Guide: