fix .public clean by git
This commit is contained in:
parent
efd909efe6
commit
552807ab77
|
@ -1,4 +1,5 @@
|
|||
/logs/
|
||||
.public
|
||||
web
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
|
|
|
@ -12,14 +12,8 @@ if [ ! -d $WORKBASE/web ]; then
|
|||
fi
|
||||
|
||||
cd $WORKBASE/web
|
||||
echo "build console ui to .public."
|
||||
git pull origin master
|
||||
|
||||
echo "loglevel=silent" > .npmrc
|
||||
|
||||
cnpm install --quiet --no-progress
|
||||
|
||||
cnpm run -s build
|
||||
|
||||
echo "move .public to $WORKBAS"
|
||||
mv $WORKBASE/web/.public $WORKBASE
|
||||
cnpm run build --quiet
|
||||
|
|
Loading…
Reference in New Issue