vid/bin/ghci.cmd

4 lines
121 B
Batchfile

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