MaxKey/release_frontend.bat
2025-02-14 11:22:42 +08:00

25 lines
480 B
Batchfile

echo off
call setEnvVars.bat
set START_TIME="%date:~0,10% %time:~0,2%:%time:~3,5%"
echo start time %START_TIME%
rem call Set-ExecutionPolicy RemoteSigned -Scope Process
cd ./maxkey-web-frontend/maxkey-web-app
call ng build --base-href /maxkey/
cd ../../
cd ./maxkey-web-frontend/maxkey-web-mgt-app
call ng build --base-href /maxkey-mgt/
set END_TIME="%date:~0,10% %time:~0,2%:%time:~3,5%"
echo Build Release start at %START_TIME% complete at %END_TIME%.
pause