update windows build scripts

This commit is contained in:
R4SAS 2020-11-14 04:29:34 +03:00
parent cffaa2f4b2
commit 168bd76e91

View file

@ -33,7 +33,7 @@ REM deleting old log files
del /S build_*.log >> nul 2>&1 del /S build_*.log >> nul 2>&1
echo Receiving latest commit and cleaning up... echo Receiving latest commit and cleaning up...
%xSH% "git pull && make clean" > build/build_git.log 2>&1 %xSH% "git checkout contrib/* && git pull && make clean" > build/build.log 2>&1
echo. echo.
REM set to variable current commit hash REM set to variable current commit hash
@ -43,6 +43,9 @@ FOR /F "usebackq" %%a IN (`%xSH% 'git describe --tags'`) DO (
%xSH% "echo To use configs and certificates, move all files and certificates folder from contrib directory here. > README.txt" >> nul %xSH% "echo To use configs and certificates, move all files and certificates folder from contrib directory here. > README.txt" >> nul
REM converting configuration files to DOS format (usable in default notepad)
%xSH% "unix2dos contrib/i2pd.conf contrib/tunnels.conf contrib/tunnels.d/*" > build/build.log 2>&1
REM starting building REM starting building
set MSYSTEM=MINGW32 set MSYSTEM=MINGW32
set bitness=32 set bitness=32