Allow running build_web_* from other directories

main
Phillip Trudeau-Tavara 1 year ago
parent b35ff295e4
commit afd03ea73b

@ -1,5 +1,7 @@
@echo off @echo off
pushd %~dp0%
rmdir /S /q build_web rmdir /S /q build_web
mkdir build_web mkdir build_web
@ -23,8 +25,10 @@ if "%1" == "NO_VALIDATION" (
echo If you want to turn graphics validation off to make web debug build faster, provide a command line argument called "NO_VALIDATION" to this build script echo If you want to turn graphics validation off to make web debug build faster, provide a command line argument called "NO_VALIDATION" to this build script
) )
goto :EOF goto :success
:error :error
echo Failed to build echo Failed to build
:success
popd
exit /B %ERRORLEVEL% exit /B %ERRORLEVEL%

@ -1,5 +1,7 @@
@echo off @echo off
pushd %~dp0%
rmdir /S /q build_web_release rmdir /S /q build_web_release
mkdir build_web_release mkdir build_web_release
@ -10,8 +12,10 @@ set OUTPUT_FOLDER=build_web_release
call build_web_common.bat || goto :error call build_web_common.bat || goto :error
goto :EOF goto :success
:error :error
echo Failed to build echo Failed to build
:success
popd
exit /B %ERRORLEVEL% exit /B %ERRORLEVEL%

Loading…
Cancel
Save