vid/bin/runghc.cmd

4 lines
128 B
Batchfile

@echo off
where runghc.exe >nul 2>nul
if errorlevel 1 call choco install ghc -y & call %~dp0\v-choco-refreshenv
runghc.exe %*