[Haskell-cafe] Cabal Test-suites + custom preprocessors

Johan Tibell johan.tibell at gmail.com
Sun Aug 26 22:35:53 CEST 2012


On Sun, Aug 26, 2012 at 1:03 PM, Iain Nicol <iain at thenicols.net> wrote:
> Johan Tibell wrote:
>> On Sun, Aug 26, 2012 at 12:40 PM, Iain Nicol <iain at thenicols.net> 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.  I will give that a shot.

Well, I think's it's reasonable for test to imply build so in my mind
the build hook should also be executed when building test suites.



More information about the Haskell-Cafe mailing list