]> gitweb @ CieloNegro.org - haskell-dns.git/blob - Setup.lhs
defaultUserHooks --> simpleUserHooks
[haskell-dns.git] / Setup.lhs
1 #!/usr/bin/env runhaskell
2 > import Distribution.Simple
3 > import System.Cmd
4 > import System.Exit
5 > main = defaultMainWithHooks (simpleUserHooks { runTests = runTestUnit })
6 >     where
7 >       runTestUnit _ _ _ _
8 >           = system "./dist/build/DNSUnitTest/DNSUnitTest" >> return ()