diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 14:55:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 14:55:02 +0000 |
commit | fb4bd8c9af760d0f8050c2957b845f025243e696 (patch) | |
tree | 532e56c426786737d5c325866de29911c8b7e236 /plugins/mRadio/make.bat | |
parent | d1382a8f229dddac34614dbecc10236f3a6ead2d (diff) |
batch files enhancement - it shall stop if one of plugins fails to compile
git-svn-id: http://svn.miranda-ng.org/main/trunk@3819 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio/make.bat')
-rw-r--r-- | plugins/mRadio/make.bat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mRadio/make.bat b/plugins/mRadio/make.bat index da44c84de0..066c540fe9 100644 --- a/plugins/mRadio/make.bat +++ b/plugins/mRadio/make.bat @@ -18,8 +18,10 @@ md tmp rem brcc32.exe mradio.rc -fomradio.res
%FPCBIN% @..\..\plugins\Utils.pas\fpc.cfg %PROJECT%.dpr %3 %4 %5 %6 %7 %8 %9
+if errorlevel 1 exit /b 1
move .\tmp\%PROJECT%.dll %OUTDIR%
move .\tmp\%PROJECT%.map .
del /Q tmp\*
rd tmp
+exit /b 0
|