main #8
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue