On Sun, Aug 26, 2012 at 1:03 PM, Iain Nicol wrote:
> Johan Tibell wrote:
>> On Sun, Aug 26, 2012 at 12:40 PM, Iain Nicol wrote:
>>> Does anybody know if Cabal actually supports using custom
>>> preprocessors for building a test-suite? If so, is 'buildHook' still
>>> the right hook to override?
>
Johan Tibell wrote:
> On Sun, Aug 26, 2012 at 12:40 PM, Iain Nicol wrote:
>> Does anybody know if Cabal actually supports using custom
>> preprocessors for building a test-suite? If so, is 'buildHook' still
>> the right hook to override?
>
> Try overriding the test hook.
Bleh; that's too obvious
On Sun, Aug 26, 2012 at 12:40 PM, Iain Nicol wrote:
> Hi café,
>
> I am successfully using a custom preprocessor to build my main
> executable. In particular, I am using UUAGC to preprocess .ag files
> into .hs files. My Setup.hs file uses 'uuagcLibUserHook' from the
> package uuagc-cabal to do
Hi café,
I am successfully using a custom preprocessor to build my main
executable. In particular, I am using UUAGC to preprocess .ag files
into .hs files. My Setup.hs file uses 'uuagcLibUserHook' from the
package uuagc-cabal to do this, which in particular overrides Cabal's
'buildHook' for me.