[commit: packages/filepath] master: Fix up the .ghci file so it loads the tests (ef49439)
git at git.haskell.org
git at git.haskell.org
Thu Mar 19 11:36:28 UTC 2015
Repository : ssh://git@git.haskell.org/filepath
On branch : master
Link : http://git.haskell.org/packages/filepath.git/commitdiff/ef494392c2a9c58dbef611ccfed89131df649426
>---------------------------------------------------------------
commit ef494392c2a9c58dbef611ccfed89131df649426
Author: Neil Mitchell <ndmitchell at gmail.com>
Date: Wed Oct 29 08:28:02 2014 +0000
Fix up the .ghci file so it loads the tests
>---------------------------------------------------------------
ef494392c2a9c58dbef611ccfed89131df649426
.ghci | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/.ghci b/.ghci
index 60189f7..e9e1bba 100644
--- a/.ghci
+++ b/.ghci
@@ -1,6 +1,6 @@
:set -fwarn-unused-binds -fwarn-unused-imports
-:set -isrc -itest
-:load System.FilePath System.FilePath.Windows System.FilePath.Posix Generate
+:set -isrc -itests
+:load System.FilePath System.FilePath.Windows System.FilePath.Posix Generate Test
import qualified System.FilePath.Windows as W
import qualified System.FilePath.Posix as P
@@ -8,4 +8,6 @@ import qualified System.FilePath.Posix as P
:def docs const $ return $ unlines [":docs_",":!start dist\\doc\\html\\filepath\\System-FilePath.html"]
:def gen const $ return "Generate.main"
-:def test const $ return $ unlines [":!runhaskell Generate.hs",":!cabal test"]
+:def test const $ return "Test.main"
+:def go const $ return $ unlines [":reload",":gen",":reload",":test",":gen",":reload"]
+:def testfull const $ return $ unlines [":reload","gen",":reload","!cabal test"]
More information about the ghc-commits
mailing list