summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Mokhov <andrey.mokhov@gmail.com>2019-01-10 00:18:24 +0000
committerAlp Mestanogullari <alp@well-typed.com>2019-01-11 13:41:22 -0500
commitf80449799015c010501884fc7b3fdeae002ff375 (patch)
tree5c40ab6c853005d9916aa23a6edcdcded37a4ed9
parentc2455e647501c5a382861196b64df3dd05b620a2 (diff)
downloadhaskell-wip/andrey/windows-cabal.tar.gz
Hadrian: Use the Cabal build script on Windows by defaultwip/andrey/windows-cabal
The Stack build script `build.stack.bat` currently fails on Windows when invoked with the `--configure` flag, see: https://ghc.haskell.org/trac/ghc/ticket/15982 The Cabal build script `build.cabal.bat` works reliably on my Windows machine, so I am proposing to switch to it by default, that is, to run it from the default `build.bat` script. The Stack build script can still be run directly if need be.
-rw-r--r--hadrian/build.bat6
1 files changed, 2 insertions, 4 deletions
diff --git a/hadrian/build.bat b/hadrian/build.bat
index 01a869f4f7..e71f886462 100644
--- a/hadrian/build.bat
+++ b/hadrian/build.bat
@@ -1,6 +1,4 @@
@echo off
-setlocal
-cd %~dp0
-rem By default on Windows we build Hadrian using Stack
-./build.stack.bat %*
+rem By default on Windows we build Hadrian using Cabal
+hadrian/build.cabal.bat %*