.bat file to help compile easier - dmd/build
Daniel de Kok
me at nowhere.nospam
Fri Jan 2 11:53:45 PST 2009
On Fri, 02 Jan 2009 14:17:17 -0500, Michael P. wrote:
> But, mario will execute even if there are errors found by dmd. Is there
> anything that I can use to see if errors were found, and if there isn't,
> execute it, and if there is, don't execute it? DMD1.036, Windows XP,
> Build/Bud 3.04
I haven't seriously used DOS/Windows since halfway the nineties, but
didn't there use to be a 'pause' command? That will allow you to view
build output, and possibly to use Ctrl + C to stop the batch file.
Or you could also use ERRORLEVEL after running 'build':
IF ERRORLEVEL EQU 0 mario
-- Daniel
More information about the Digitalmars-d-learn
mailing list