diff options
Diffstat (limited to 'Setup.lhs')
-rw-r--r-- | Setup.lhs | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -8,13 +8,10 @@ | |||
8 | > import System.Process(system) | 8 | > import System.Process(system) |
9 | > import Config(config) | 9 | > import Config(config) |
10 | 10 | ||
11 | > main = defaultMainWithHooks simpleUserHooks { confHook = c, runTests = t } | 11 | > main = defaultMainWithHooks simpleUserHooks { confHook = c } |
12 | 12 | ||
13 | > c x y = do | 13 | > c x y = do |
14 | > binfo <- confHook simpleUserHooks x y | 14 | > binfo <- confHook simpleUserHooks x y |
15 | > pbi <- config binfo | 15 | > pbi <- config binfo |
16 | > let pkg_descr = localPkgDescr binfo | 16 | > let pkg_descr = localPkgDescr binfo |
17 | > return $ binfo { localPkgDescr = updatePackageDescription pbi pkg_descr } | 17 | > return $ binfo { localPkgDescr = updatePackageDescription pbi pkg_descr } |
18 | |||
19 | > t _ _ _ _ = system ( "runhaskell examples/tests.hs") >> return() | ||
20 | |||