[commit: ghc] wip/nfs-locking: Split the batch file into multiple lines, add missing flags (-j -O). (5bb30bc)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:45:48 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/5bb30bc25f693652432ff72150a40ceb558f36e3/ghc

>---------------------------------------------------------------

commit 5bb30bc25f693652432ff72150a40ceb558f36e3
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Dec 24 03:29:32 2015 +0000

    Split the batch file into multiple lines, add missing flags (-j -O).


>---------------------------------------------------------------

5bb30bc25f693652432ff72150a40ceb558f36e3
 build.bat | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/build.bat b/build.bat
index ab26e07..a4e2548 100644
--- a/build.bat
+++ b/build.bat
@@ -1,2 +1,19 @@
 @mkdir .shake 2> nul
- at ghc --make -Wall src/Main.hs -isrc -rtsopts -with-rtsopts=-I0 -outputdir=.shake -o .shake/build && .shake\build --lint --directory ".." %*
+
+ at set ghcArgs=--make            ^
+             -Wall             ^
+             src/Main.hs       ^
+             -isrc             ^
+             -rtsopts          ^
+             -with-rtsopts=-I0 ^
+             -outputdir=.shake ^
+             -j                ^
+             -O                ^
+             -o .shake/build
+
+ at set shakeArgs=--lint      ^
+               --directory ^
+               ".."        ^
+               %*
+
+ at ghc %ghcArgs% && .shake\build %shakeArgs%



More information about the ghc-commits mailing list