Implement interestingInfo for Haddock.
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Fri, 21 Aug 2015 22:39:40 +0000 (23:39 +0100)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Fri, 21 Aug 2015 22:39:40 +0000 (23:39 +0100)
src/Rules/Actions.hs

index d73c6a7..e58669a 100644 (file)
@@ -50,6 +50,7 @@ interestingInfo builder ss = case builder of
     Ghc _    -> prefixAndSuffix 0 4 ss
     GhcM _   -> prefixAndSuffix 1 1 ss
     GhcPkg _ -> prefixAndSuffix 3 0 ss
+    Haddock  -> prefixAndSuffix 1 0 ss
     GhcCabal -> prefixAndSuffix 3 0 ss
     _        -> ss
   where