vid/bin/v-ghc.cmd

4 lines
106 B
Batchfile

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