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.

Regards,

Erik

On Mon, Dec 2, 2013 at 9:37 PM, Benjamin Edwards <edwards.b...@gmail.com> wrote:
> Hi,
>
> 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?
>
> Best,
> Ben
>
> _______________________________________________
> cabal-devel mailing list
> cabal-devel@haskell.org
> http://www.haskell.org/mailman/listinfo/cabal-devel
>
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to