File: Setup.hs

package info (click to toggle)
haskell-oeis 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 80 kB
  • sloc: haskell: 212; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Main where

import System.Process (system)

import Distribution.Simple (defaultMainWithHooks, simpleUserHooks, runTests)

main :: IO ()
main =
    defaultMainWithHooks $ simpleUserHooks { runTests = runTests' }
  where
    runTests' _ _ _ _ = do
        system "runhaskell -Wall -i./src src/test.hs"
        return ()