Generate build reports for Hackage

Hackage isn't yet ready to start receiving these, as it's a large amount
of data.
This commit is contained in:
Michael Snoyman 2014-12-02 22:33:58 +02:00
parent e0d1146a53
commit e01bb2d45c
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ module-name-conflicts.txt
/inclusive /inclusive
*.stackage *.stackage
/haddock/ /haddock/
/build-summary/

View File

@ -100,6 +100,7 @@ build settings' bp = do
: "--build-log=logs/$pkg.log" : "--build-log=logs/$pkg.log"
: "--max-backjumps=-1" : "--max-backjumps=-1"
: "--reorder-goals" : "--reorder-goals"
: "--build-summary=build-summary/$pkgid.report"
: packageList : packageList
hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args)) hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
runCabal args handle runCabal args handle