File: Setup.lhs

package info (click to toggle)
haskell-attempt 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 60 kB
  • sloc: haskell: 120; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env runhaskell

> module Main where
> import Distribution.Simple
> import System.Cmd (system)

> main :: IO ()
> main = defaultMainWithHooks (simpleUserHooks { runTests = runTests' })

> runTests' :: a -> b -> c -> d -> IO ()
> runTests' _ _ _ _ = system "runhaskell Test.hs" >> return ()