diff options
author | Alberto Ruiz <aruiz@um.es> | 2009-04-27 17:29:05 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2009-04-27 17:29:05 +0000 |
commit | 03cab9651b0c3d4de1f1830c9ff5cebfd7fbb3aa (patch) | |
tree | 6d12e220f5c0851d02ed2194fe2c31b4f9d97575 /Setup.lhs | |
parent | 0c2c887de10702206ee645452a86674500314948 (diff) |
first version of configure(.hs)
Diffstat (limited to 'Setup.lhs')
-rw-r--r-- | Setup.lhs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ | |||
1 | #! /usr/bin/env runhaskell | 1 | #! /usr/bin/env runhaskell |
2 | 2 | ||
3 | > import Distribution.Simple | 3 | > import Distribution.Simple |
4 | > main = defaultMain | 4 | > import System(system) |
5 | |||
6 | > main = defaultMainWithHooks autoconfUserHooks {runTests = t} | ||
7 | |||
8 | > t _ _ _ _ = system ( "runhaskell examples/tests.hs") >> return() | ||