diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh index e13d7ff81c..aa4286c7e7 100644 --- a/scripts/cleanup.sh +++ b/scripts/cleanup.sh @@ -1,5 +1,5 @@ #!/bin/bash KEEP="dist|package.json|yarn.lock|client|builder|build|pm2.config.js|docker_run.sh" echo "Removing unneeded build files:" -ls | egrep -v $KEEP | xargs rm -rf +ls | egrep -v $KEEP | xargs rm -rfv NODE_ENV=production yarn