add verbose to rm
This commit is contained in:
parent
012a007116
commit
1f29047958
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
KEEP="dist|package.json|yarn.lock|client|builder|build|pm2.config.js|docker_run.sh"
|
KEEP="dist|package.json|yarn.lock|client|builder|build|pm2.config.js|docker_run.sh"
|
||||||
echo "Removing unneeded build files:"
|
echo "Removing unneeded build files:"
|
||||||
ls | egrep -v $KEEP | xargs rm -rf
|
ls | egrep -v $KEEP | xargs rm -rfv
|
||||||
NODE_ENV=production yarn
|
NODE_ENV=production yarn
|
||||||
|
|
Loading…
Reference in New Issue