propellor/Setup.hs

15 lines
275 B
Haskell

{- cabal setup file -}
import Distribution.Simple
import Distribution.Simple.Setup
import qualified Build.Configure as Configure
main = defaultMainWithHooks simpleUserHooks
{ preConf = configure
}
configure _ _ = do
Configure.run Configure.tests
return (Nothing, [])