File: build-stack.bat

package info (click to toggle)
haskell-hadrian 9.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,840 kB
  • sloc: haskell: 12,374; python: 374; makefile: 234; ansic: 176; sh: 76
file content (11 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (4)
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=.. -- %*