Add remaining haskell book exercises
This commit is contained in:
12
Haskell-book/24/language-dot/Setup.hs
Normal file
12
Haskell-book/24/language-dot/Setup.hs
Normal file
@@ -0,0 +1,12 @@
|
||||
module Main where
|
||||
|
||||
import Distribution.Simple (defaultMainWithHooks, simpleUserHooks, runTests)
|
||||
import System.Process (system)
|
||||
|
||||
main :: IO ()
|
||||
main =
|
||||
defaultMainWithHooks $ simpleUserHooks { runTests = runTests' }
|
||||
where
|
||||
runTests' _ _ _ _ = do
|
||||
system "runhaskell -DTEST -i./src src/test.hs"
|
||||
return ()
|
||||
Reference in New Issue
Block a user