on master help sign in
Generate build reports for Hackage
e01bb2dMichael Snoyman
.gitignore+1
@@ -21,3 +21,4 @@ module-name-conflicts.txt
21/inclusive
21/inclusive
22*.stackage
22*.stackage
23/haddock/
23/haddock/
24+/build-summary/
Stackage/Build.hs+1
@@ -100,6 +100,7 @@ build settings' bp = do
100 : "--build-log=logs/$pkg.log"
100 : "--build-log=logs/$pkg.log"
101 : "--max-backjumps=-1"
101 : "--max-backjumps=-1"
102 : "--reorder-goals"
102 : "--reorder-goals"
103+ : "--build-summary=build-summary/$pkgid.report"
103 : packageList
104 : packageList
104 hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
105 hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
105 runCabal args handle
106 runCabal args handle