[commit: packages/filepath] master: Add a :test target (bb3489d)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:33:27 UTC 2015


Repository : ssh://git@git.haskell.org/filepath

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/bb3489d3764615da4e9b94ba2ada05956fed2706

>---------------------------------------------------------------

commit bb3489d3764615da4e9b94ba2ada05956fed2706
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Oct 19 13:48:02 2014 +0100

    Add a :test target


>---------------------------------------------------------------

bb3489d3764615da4e9b94ba2ada05956fed2706
 .ghci | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.ghci b/.ghci
index f075783..404232e 100644
--- a/.ghci
+++ b/.ghci
@@ -6,3 +6,5 @@ import qualified System.FilePath.Posix as Posix
 
 :def docs_ const $ return $ unlines [":!cabal haddock"]
 :def docs const $ return $ unlines [":docs_",":!start dist\\doc\\html\\filepath\\System-FilePath.html"]
+
+:def test const $ return $ unlines [":!cd tests && runhaskell GenTests.hs",":!cd tests && runhaskell FilePath_Test.hs"]



More information about the ghc-commits mailing list