Hi -
I've set up my Visual Studio environment so that ghc is an external tool,
where the output from ghc appears on the VS output pane. However when I use
this to compile and link a Haskell program (I'm just using the plain text
editor that comes with VC++ not the Haskell plugin because of its
On Tue, Mar 07, 2006 at 06:45:52PM -, Brian Hulley wrote:
Is there any flag to get ghc or the ghc linker to print Done or something
when it's finished?
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.
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
On Tue, Mar 07, 2006 at 06:54:50PM +, Neil Mitchell wrote:
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
Neil Mitchell wrote:
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 - the script below,