dont delete .gitignore
This commit is contained in:
parent
8820f17fde
commit
8d13376b4f
|
@ -1,7 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
rm -rf dist/*
|
||||
yarn run build
|
||||
yarn run build $*
|
||||
|
||||
rm -rf ../../public/static/dist
|
||||
mv dist ../../public/static
|
||||
for f in ../../public/static/dist/*; do
|
||||
if [ "$f" != ".gitignore" ]
|
||||
then
|
||||
rm -rf "$f"
|
||||
fi
|
||||
done
|
||||
cp -r dist ../../public/static
|
Loading…
Reference in New Issue