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