vid/bin/v-runghc.cmd

4 lines
112 B
Batchfile

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