[commit: packages/filepath] master: Add ghci targets for building the docs (7282939)

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


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

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

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

commit 72829393ec0e61d63a7ab5304ed909f917bce1bb
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Oct 19 13:45:34 2014 +0100

    Add ghci targets for building the docs


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

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

diff --git a/.ghci b/.ghci
index f0e38f8..f075783 100644
--- a/.ghci
+++ b/.ghci
@@ -4,3 +4,5 @@
 import qualified System.FilePath.Windows as Windows
 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"]



More information about the ghc-commits mailing list