Skip to content

Commit 7366f35

Browse files
author
Felipe \"Zimmerle\" Costa
committed
Code cosmetics.
Changed to reduce the number of possible fails during Build Bot compilation.
1 parent 9bf2959 commit 7366f35

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

iis/build_modsecurity.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,24 @@ set CURRENT_DIR=%cd%
88
@if NOT (%1) == "" call %1
99
@if (%ERRORLEVEL%) == (1) goto build_wrong_vcarg
1010

11+
@echo Deleting old stuff...
12+
@del *.obj *.dll *.lib
1113

14+
@echo apache2...
1215
cd ..\apache2
1316
del *.obj *.dll *.lib
1417
del libinjection\*.obj libinjection\*.dll libinjection\*.lib
1518
NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre LIBXML2=..\iis\%DEPENDENCIES_DIR%\libxml2 LUA=..\iis\%DEPENDENCIES_DIR%\lua\src VERSION=VERSION_IIS
1619
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
1720

21+
@echo mlogc...
1822
cd ..\mlogc
1923
del *.obj *.dll *.lib
2024
nmake -f Makefile.win clean
2125
nmake -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre CURL=..\iis\%DEPENDENCIES_DIR%\curl VERSION=VERSION_IIS
2226
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
2327

28+
@echo iis...
2429
cd ..\iis
2530
del *.obj *.dll *.lib
2631
nmake -f Makefile.win clean
@@ -29,6 +34,7 @@ NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEP
2934

3035
cd %CURRENT_DIR%
3136

37+
@echo Copy...
3238
copy /y ..\mlogc\mlogc.exe %OUTPUT_DIR%
3339
copy /y ..\iis\modsecurityiis.dll %OUTPUT_DIR%
3440
copy /y ..\iis\modsecurityiis.pdb %OUTPUT_DIR%

iis/build_release.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
echo "Building release..."
3+
24
set RELEASE_DIR=release
35
set OUTPUT_DIR=%cd%\dependencies\release_files
46
set CURRENT_DIR=%cd%

0 commit comments

Comments
 (0)