5import Control.Monad (unless)
6import Stackage.CheckPlan
7import Stackage.InstallInfo
8import Stackage.Tarballs
11import System.Exit (ExitCode (ExitSuccess), exitWith)
12import System.IO (IOMode (WriteMode), withBinaryFile)
13import System.Process (runProcess, waitForProcess)
17 putStrLn "Creating a build plan"
20 putStrLn "Wiping out old cabal-dev folder"
24 putStrLn "No mismatches, starting the sandboxed build."
26 ph <- withBinaryFile "build.log" WriteMode $ \handle ->
27 runProcess "cabal-dev" ("install":"-fnetwork23":iiPackageList ii) Nothing Nothing Nothing (Just handle) (Just handle)
28 ec <- waitForProcess ph
29 unless (ec == ExitSuccess) $ do
30 putStrLn "Build failed, please see build.log"
33 putStrLn "Sandbox built, beginning individual test suites"
36 putStrLn "All test suites that were expected to pass did pass, building tarballs."
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list