summaryrefslogtreecommitdiff
path: root/Setup.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'Setup.lhs')
-rw-r--r--Setup.lhs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Setup.lhs b/Setup.lhs
index ba435f0..0d80d1b 100644
--- a/Setup.lhs
+++ b/Setup.lhs
@@ -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