File: build-stack.bat

package info (click to toggle)
haskell-hadrian 9.6.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,824 kB
  • sloc: haskell: 9,765; python: 370; makefile: 189; ansic: 176; sh: 70
file content (11 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (2)
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=.. -- %*