Skip to content

Commit

Permalink
Better vertical whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
process-bot committed Apr 19, 2016
1 parent 4990668 commit c537407
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/BuildManager.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ import qualified Report
import qualified TheMasterPlan as TMP



-- CONFIGURATION


data Config = Config
{ _artifactDirectory :: FilePath
, _files :: [FilePath]
Expand Down Expand Up @@ -49,8 +51,10 @@ artifactDirectory =
Path.stuffDirectory </> "build-artifacts" </> (Pkg.versionToString Compiler.version)



-- RUN A BUILD


type Task a =
ExceptT Error (StateT [Phase] IO) a

Expand All @@ -71,8 +75,10 @@ run task =




-- TIMELINE


data Timeline = Timeline
{ _start :: Time.POSIXTime
, _phases :: [Phase]
Expand Down Expand Up @@ -119,8 +125,10 @@ phaseToString overallDuration indent (Phase tag start subphases end) =
++ concatMap (phaseToString duration (indent + 1)) subphases



-- ERRORS


data Error
= CompilerErrors FilePath String [Compiler.Error]
| CorruptedArtifact FilePath
Expand Down
1 change: 0 additions & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import TheMasterPlan (ProjectGraph(..), ProjectData(..))
main :: IO ()
main =
do setLocaleEncoding utf8

setNumCapabilities =<< getNumProcessors

result <- BM.run make
Expand Down

0 comments on commit c537407

Please sign in to comment.