2022-04-01 13:43:34 +00:00
|
|
|
@echo off
|
|
|
|
echo
|
|
|
|
echo ######################
|
|
|
|
echo # build frontend #
|
|
|
|
echo ######################
|
|
|
|
|
2022-09-28 14:02:59 +00:00
|
|
|
set DEBUG_INFO=%~2
|
|
|
|
|
|
|
|
pushd %~s1
|
2022-04-01 13:43:34 +00:00
|
|
|
|
|
|
|
call yarn install
|
2022-09-28 14:02:59 +00:00
|
|
|
if "%DEBUG_INFO%"=="true" yarn debug-info
|
2022-04-01 13:43:34 +00:00
|
|
|
call yarn build
|
|
|
|
call yarn deploy
|
|
|
|
|
|
|
|
popd
|