fixed build-mg script by making it no longer look for and update game data. Now it just gets the deps and builds the game.

This commit is contained in:
Jammyjamjamman
2018-01-25 21:28:40 +00:00
parent d52c3e1693
commit 05b4e5e9a3

21
mk/windows/build-mg-2015.bat Normal file → Executable file
View File

@@ -81,18 +81,19 @@ goto GITSECTION
:GITSECTION
rem Update from GIT to latest rev
rem Code commented out so that script functions.
ECHO --------------------------------
Echo Updating Code from GIT to latest Revision...
Echo Updating Code from GIT to latest Revision (WARNING! NO LONGER UPDATES!)...
cd ..\..\
set GIT_NORM_BRANCH=.
for /f "delims=" %%a in ('git branch ^| findstr /rc:"^\*[^(]*([^) d]*[ ]*detached"') do @set GIT_NORM_BRANCH=%%a
if "%GIT_NORM_BRANCH%" == "." git pull
cd data\glest_game
set GIT_NORM_BRANCH=.
for /f "delims=" %%a in ('git branch ^| findstr /rc:"^\*[^(]*([^) d]*[ ]*detached"') do @set GIT_NORM_BRANCH=%%a
if "%GIT_NORM_BRANCH%" == "." git pull
cd ..\..\
git submodule update
rem set GIT_NORM_BRANCH=.
rem for /f "delims=" %%a in ('git branch ^| findstr /rc:"^\*[^(]*([^) d]*[ ]*detached"') do @set GIT_NORM_BRANCH=%%a
rem if "%GIT_NORM_BRANCH%" == "." git pull
rem cd data\glest_game
rem set GIT_NORM_BRANCH=.
rem for /f "delims=" %%a in ('git branch ^| findstr /rc:"^\*[^(]*([^) d]*[ ]*detached"') do @set GIT_NORM_BRANCH=%%a
rem if "%GIT_NORM_BRANCH%" == "." git pull
rem cd ..\..\
rem git submodule update
set GITVERSION_SHA1=.
set GITVERSION_REV=.