update build script
This commit is contained in:
parent
3e997ff32d
commit
75d350ef54
1 changed files with 1 additions and 2 deletions
3
build.sh
3
build.sh
|
@ -27,6 +27,7 @@ read -p "$(echo -e ${FRONTEND_Q})" choice
|
|||
if [ "$choice" = "y" ]; then
|
||||
echo -e "${BUILDING_FRONT}"
|
||||
cd frontend
|
||||
rm -r ./build
|
||||
pnpm i
|
||||
pnpm run build
|
||||
cd ../
|
||||
|
@ -42,8 +43,6 @@ if [ "$choice" = "y" ]; then
|
|||
cd ../
|
||||
elif [ "$choice" = "n" ]; then
|
||||
echo -e "${EXITING}"
|
||||
elif [ "$choice" = "c" ]; then
|
||||
echo -e "${BUILD_CANCELLED}"
|
||||
else
|
||||
echo -e "${NO_CHOICE}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue