On 19/07/10 07:14, Johan Tibell wrote:
> On Sun, Jul 18, 2010 at 9:23 PM, Magnus Therning wrote:
>
>> In my Cabal file I have defined a flag that controls whether tests are
>> built or not. Now I'd like to hook it up a bit more so that './Setup.hs
>> test' actually runs the tests.
>>
>> I haven't
On Sun, Jul 18, 2010 at 9:23 PM, Magnus Therning wrote:
> In my Cabal file I have defined a flag that controls whether tests are
> built or not. Now I'd like to hook it up a bit more so that './Setup.hs
> test' actually runs the tests.
>
> I haven't found a way to access that configuration flag i
On 18/07/10 20:55, Rogan Creswick wrote:
> On Sun, Jul 18, 2010 at 12:23 PM, Magnus Therning wrote:
>> In my Cabal file I have defined a flag that controls whether tests are
>> built or not. Now I'd like to hook it up a bit more so that './Setup.hs
>> test' actually runs the tests.
>
> This will
On Sun, Jul 18, 2010 at 12:23 PM, Magnus Therning wrote:
> In my Cabal file I have defined a flag that controls whether tests are
> built or not. Now I'd like to hook it up a bit more so that './Setup.hs
> test' actually runs the tests.
This will allow you to issue 'cabal test' to run the test s
In my Cabal file I have defined a flag that controls whether tests are
built or not. Now I'd like to hook it up a bit more so that './Setup.hs
test' actually runs the tests.
I haven't found a way to access that configuration flag in my hook
though. Is it not available in some way?
Currently I'm