From fb4bd8c9af760d0f8050c2957b845f025243e696 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Mar 2013 14:55:02 +0000 Subject: 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 --- plugins/Actman/make.bat | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Actman') diff --git a/plugins/Actman/make.bat b/plugins/Actman/make.bat index ad79d9a55a..e8f2a0a233 100644 --- a/plugins/Actman/make.bat +++ b/plugins/Actman/make.bat @@ -21,8 +21,10 @@ rem brcc32.exe %myopts% tasks\tasks.rc -fotasks\tasks.res rem brcc32.exe %myopts% ua\ua.rc -foua\ua.res %FPCBIN% @..\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 -- cgit v1.2.3