[Haskell-cafe] Cabal generating text files?

Stephen Tetley stephen.tetley at gmail.com
Sun Apr 25 10:52:07 EDT 2010


Hello Michał

You should be able to run arbitrary code during build/installation by
changing main in Setup.hs to use defaultMainWithHooks then supplying
your own UserHooks


main = defaultMainWithHooks my_hooks

my_hooks :: UserHooks
my_hooks = ...



Best wishes

Stephen


More information about the Haskell-Cafe mailing list