add install and build script
This commit is contained in:
parent
4a6e55f570
commit
7e7791b828
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
yarn install
|
||||||
|
|
||||||
|
yarn run build
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
read -p "Do you want to copy dist to ../../../public/static/dist? (Y/n): " yn
|
||||||
|
case $yn in
|
||||||
|
[Yy]* cp dist ../../../public/static/dist; break;;
|
||||||
|
[Nn]* break;;
|
||||||
|
[]* ) cp dist ../../../public/static/dist; break;;
|
||||||
|
* ) echo "(Y/n)";;
|
||||||
|
esac
|
||||||
|
done
|
Loading…
Reference in New Issue