Getting GHC to print "Done" when it's finished linking?

Neil Mitchell ndmitchell at gmail.com
Tue Mar 7 13:54:50 EST 2006


> In unix you could wrap ghc in a script that would print "Done" if ghc
> finished successfully. I am sure you can do it somehow in windows.

ghc --make Whatever
if errorfail 1 goto failed
echo Success :-)
goto end
:failed
echo Failure :-(
:end

Thanks

Neil


More information about the Glasgow-haskell-users mailing list