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 if [ "$choice" = "y" ]; then
echo -e "${BUILDING_FRONT}" echo -e "${BUILDING_FRONT}"
cd frontend cd frontend
rm -r ./build
pnpm i pnpm i
pnpm run build pnpm run build
cd ../ cd ../
@ -42,8 +43,6 @@ if [ "$choice" = "y" ]; then
cd ../ cd ../
elif [ "$choice" = "n" ]; then elif [ "$choice" = "n" ]; then
echo -e "${EXITING}" echo -e "${EXITING}"
elif [ "$choice" = "c" ]; then
echo -e "${BUILD_CANCELLED}"
else else
echo -e "${NO_CHOICE}" echo -e "${NO_CHOICE}"
fi fi