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 /bin11/pascal64.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 'bin11/pascal64.bat')
-rw-r--r-- | bin11/pascal64.bat | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/bin11/pascal64.bat b/bin11/pascal64.bat index 75446fdbd9..eefa9dc699 100644 --- a/bin11/pascal64.bat +++ b/bin11/pascal64.bat @@ -4,28 +4,40 @@ pushd ..\plugins pushd Actman
call make.bat fpc64 11
+if errorlevel 1 goto :Error
popd
pushd mRadio
call make.bat fpc64 11
+if errorlevel 1 goto :Error
popd
pushd QuickSearch
call make.bat fpc64 11
+if errorlevel 1 goto :Error
popd
pushd ShlExt
call make.bat fpc64 11
+if errorlevel 1 goto :Error
popd
pushd Watrack
call make.bat fpc64 11
+if errorlevel 1 goto :Error
cd icons
call makeicons.bat fpc64 11
+if errorlevel 1 goto :Error
popd
pushd Dbx_mmap_SA\Cryptors\Athena
call make.bat fpc64 11
+if errorlevel 1 goto :Error
popd
-popd
\ No newline at end of file +popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+exit
|