Get all the processed sources for a cabal project
hesselink at gmail.com
Wed Dec 4 09:36:56 UTC 2013
I don't know of anything taking into account the current
configuration. There is cabal sdist --list-sources, which will list
all the files that would be written to a source distribution.
Alternatively, there is the output from 'ghc -M', which generates
dependencies in Makefile format. Neither quite does what you want, but
perhaps you can use it anyway. Alternatively, you could try using the
Cabal library to do what you want.
On Mon, Dec 2, 2013 at 9:37 PM, Benjamin Edwards <edwards.benj at gmail.com> wrote:
> I want to make a nice tags generator for vim that plays well with cabal
> sandboxes. I was wondering if there was a way to make cabal cough up all the
> source files for a sandboxed project taking into account the current
> configuration (i.e. after flags and the cpp pre-processor has been applied).
> If not, could anyone point me to where to look to start figuring out how to
> make it happen?
> cabal-devel mailing list
> cabal-devel at haskell.org
More information about the cabal-devel