Commit 8d594bef authored by Andrey Mokhov's avatar Andrey Mokhov Committed by Ben Gamari

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.
parent bfb3e307
@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 %*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment