fix install and build script
This commit is contained in:
parent
27792add04
commit
ec0d716bde
|
@ -5,11 +5,7 @@ yarn install
|
||||||
yarn run build
|
yarn run build
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Do you want to copy dist to ../../public/static/dist? (Y/n): " yn
|
read -p "Do you want to copy dist to ../../public/static? (type n for no): " answer
|
||||||
case $yn in
|
if [ $answer = 'n' ] || [ $answer = 'N' ]; then exit 0; fi
|
||||||
[Yy]* cp dist ../../public/static/dist; break;;
|
cp dist ../../public/static
|
||||||
[Nn]* break;;
|
|
||||||
[]* ) cp dist ../../public/static/dist; break;;
|
|
||||||
* ) echo "(Y/n)";;
|
|
||||||
esac
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue