summaryrefslogtreecommitdiff
path: root/hadrian/build-stack.bat
blob: 4ed26a703a4c13fba6899aa344329fe7649567ef (plain)
1
2
3
4
5
6
7
8
9
10
11
@echo off
setlocal
rem Change the current directory to the one containing this script
cd %~dp0

if "%STACK%"=="" (
    set STACK=stack
)

rem Build and run Hadrian in GHC top directory forwarding additional user arguments
%STACK% run hadrian --cwd=.. -- %*