on master help sign in
Point to build.log on error (#1)
commita4dd7d5c08e52c0064ff391663d8871e79558ee2 authorMichael Snoyman <michael@snoyman.com> dateMon 26 Nov 2012, 09:33 (14 years ago) parentad58f04
1 file changed+3−1
Stackage/Build.hs+3−1
Stackage/Build.hs+3−1
@@ -24,7 +24,9 @@ build = do
2424 ph <- withBinaryFile "build.log" WriteMode $ \handle ->
2525 runProcess "cabal-dev" ("install":"-fnetwork23":iiPackageList ii) Nothing Nothing Nothing (Just handle) (Just handle)
2626 ec <- waitForProcess ph
27− unless (ec == ExitSuccess) $ exitWith ec
27+ unless (ec == ExitSuccess) $ do
28+ putStrLn "Build failed, please see build.log"
29+ exitWith ec
2830
2931 putStrLn "Sandbox built, beginning individual test suites"
3032 runTestSuites ii