Move Hadrian executable to /hadrian.
[ghc.git] / build.bat
index 19a2a05..f9f0b9a 100644 (file)
--- a/build.bat
+++ b/build.bat
@@ -1,5 +1,5 @@
 @cd %~dp0\r
-@mkdir ../_build 2> nul\r
+@mkdir ../_build/hadrian 2> nul\r
 \r
 @set ghcArgs=--make                       ^\r
              -Wall                        ^\r
@@ -13,7 +13,7 @@
              -outputdir=../_build/hadrian ^\r
              -j                           ^\r
              -O                           ^\r
-             -o ../_build/hadrian\r
+             -o hadrian\r
 \r
 @set hadrianArgs=--lint      ^\r
                  --directory ^\r
@@ -27,4 +27,4 @@
 \r
 @rem Unset GHC_PACKAGE_PATH variable, as otherwise ghc-cabal complains\r
 @set GHC_PACKAGE_PATH=\r
-@..\_build\hadrian %hadrianArgs%\r
+@hadrian %hadrianArgs%\r