vid/bin/v-ghci.cmd

4 lines
122 B
Batchfile

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