summaryrefslogtreecommitdiff
path: root/bin11
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-01 14:55:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-01 14:55:02 +0000
commitfb4bd8c9af760d0f8050c2957b845f025243e696 (patch)
tree532e56c426786737d5c325866de29911c8b7e236 /bin11
parentd1382a8f229dddac34614dbecc10236f3a6ead2d (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')
-rw-r--r--bin11/pascal32.bat17
-rw-r--r--bin11/pascal64.bat14
2 files changed, 28 insertions, 3 deletions
diff --git a/bin11/pascal32.bat b/bin11/pascal32.bat
index f765872b32..45a11e982a 100644
--- a/bin11/pascal32.bat
+++ b/bin11/pascal32.bat
@@ -1,35 +1,48 @@
-rem @echo off
+@echo off
pushd ..\plugins
pushd Actman
call make.bat fpc 11
+if errorlevel 1 goto :Error
popd
pushd ImportTXT
call make.bat fpc 11
+if errorlevel 1 goto :Error
popd
pushd mRadio
call make.bat fpc 11
+if errorlevel 1 goto :Error
popd
pushd QuickSearch
call make.bat fpc 11
+if errorlevel 1 goto :Error
popd
pushd ShlExt
call make.bat fpc 11
+if errorlevel 1 goto :Error
popd
pushd Watrack
call make.bat fpc 11
+if errorlevel 1 goto :Error
cd icons
call makeicons.bat fpc 11
+if errorlevel 1 goto :Error
popd
pushd Dbx_mmap_SA\Cryptors\Athena
call make.bat fpc 11
+if errorlevel 1 goto :Error
popd
-popd \ No newline at end of file
+popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+exit
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