1
0
Fork 0
mirror of synced 2024-06-01 10:09:48 +12:00

add verbose to rm

This commit is contained in:
tomamplius 2022-10-21 21:09:54 +02:00 committed by GitHub
parent bc8331ddd4
commit 75559dddce

View file

@ -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