[commit: ghc] wip/nfs-locking: Show simple shake progress and timings (0e19611)
git at git.haskell.org
git at git.haskell.org
Thu Oct 26 23:28:30 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/0e196114ceb61cfb03e24216203f868a10d294b9/ghc
>---------------------------------------------------------------
commit 0e196114ceb61cfb03e24216203f868a10d294b9
Author: David Luposchainsky <dluposchainsky at gmail.com>
Date: Mon Dec 21 14:15:16 2015 +0100
Show simple shake progress and timings
>---------------------------------------------------------------
0e196114ceb61cfb03e24216203f868a10d294b9
src/Main.hs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/Main.hs b/src/Main.hs
index aae1d5e..7a0205d 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -5,9 +5,14 @@ import Rules.Config
import Rules.Oracles
main :: IO ()
-main = shakeArgs shakeOptions { shakeFiles = shakeFilesPath } $ do
+main = shakeArgs options $ do
generateTargets -- see Rules
packageRules -- see Rules
cabalRules -- see Rules.Cabal
configRules -- see Rules.Config
oracleRules -- see Rules.Oracles
+ where
+ options = shakeOptions
+ { shakeFiles = shakeFilesPath
+ , shakeProgress = progressSimple
+ , shakeTimings = True }
More information about the ghc-commits
mailing list