update build script

This commit is contained in:
nelle 2024-10-30 19:44:51 -06:00
parent 3e997ff32d
commit 75d350ef54

View file

@ -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