Add ghci targets for building the docs
authorNeil Mitchell <ndmitchell@gmail.com>
Sun, 19 Oct 2014 12:45:34 +0000 (13:45 +0100)
committerNeil Mitchell <ndmitchell@gmail.com>
Sun, 19 Oct 2014 12:45:34 +0000 (13:45 +0100)
.ghci

diff --git a/.ghci b/.ghci
index f0e38f8..f075783 100644 (file)
--- 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"]