]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Setup.hs
improved the page editor
[Rakka.git] / Setup.hs
index 39a754708bd585009364b5cd135a4fff647bc5ab..43dff8c283ee9deb662b07e8259bb36df01a1916 100755 (executable)
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,4 +1,10 @@
 #!/usr/bin/env runghc
 
 import Distribution.Simple
-main = defaultMainWithHooks defaultUserHooks
+import System.Cmd
+import System.Exit
+
+main = defaultMainWithHooks (defaultUserHooks { runTests = runTestUnit })
+    where
+      runTestUnit _ _ _ _
+          = system "./dist/build/RakkaUnitTest/RakkaUnitTest" >> return ()