Hadrian: Use the Cabal build script on Windows by default
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Thu, 10 Jan 2019 00:18:24 +0000 (00:18 +0000)
committerBen Gamari <ben@smart-cactus.org>
Wed, 16 Jan 2019 19:17:38 +0000 (14:17 -0500)
commit8d594beff68a6b12cdc8ccbd0cfc3e11cf184bfc
tree553cc1aa6a5bba40cda7fe8806d0056086bb03fd
parentbfb3e3072d25d983e2245e2cf2d491981f49549c
Hadrian: Use the Cabal build script on Windows by default

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.
hadrian/build.bat