[Haskell-cafe] cabal, Setup.lhs example
Rogan Creswick
creswick at gmail.com
Wed Jul 21 12:43:16 EDT 2010
On Wed, Jul 21, 2010 at 3:00 AM, Magnus Therning <magnus at therning.org> wrote:
>
> I am successfully using hooks with the following in my .cabal file:
>
> Build-Type : Simple
>
> and my main in Setup.hs looks like this:
>
> main = defaultMainWithHooks $ simpleUserHooks
> { cleanHook = profileClean
> , runTests = runTestsBuild
> }
I've been unable to reproduce this -- flipping the build type to
Custom has been necessary in every configuration I've tried. I'd like
to see what I'm doing differently -- is this used in a publicly
available package I could take a look at?
Thanks!
Rogan
More information about the Haskell-Cafe
mailing list