RetroShare/build_scripts/Windows-msys2/tools/webui.bat

22 lines
438 B
Batchfile
Raw Normal View History

2020-05-23 16:05:44 -04:00
setlocal
echo.
echo === webui
echo.
title Build webui
if not exist "%RsWebuiPath%" (
echo Checking out webui source into %RsWebuiPath%
2020-06-01 08:01:36 -04:00
if not "%ParamNoupdate%"=="1" (
%EnvMSYS2Cmd% "pacman --noconfirm --needed -S git"
)
2020-05-23 16:05:44 -04:00
git clone https://github.com/RetroShare/RSNewWebUI.git "%RsWebuiPath%"
) else (
echo Webui source found at %RsWebuiPath%
)
pushd "%RsWebuiPath%\webui-src\make-src"
%EnvMSYS2Cmd% "sh build.sh"
popd
endlocal