Allow running build_web_* from other directories

main
Phillip Trudeau-Tavara 9 months ago
parent b35ff295e4
commit afd03ea73b

@ -1,5 +1,7 @@
@echo off
pushd %~dp0%
rmdir /S /q 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
)
goto :EOF
goto :success
:error
echo Failed to build
:success
popd
exit /B %ERRORLEVEL%

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

Loading…
Cancel
Save