budibase/scripts/cleanup.sh

6 lines
195 B
Bash
Raw Normal View History

#!/bin/bash
2022-10-21 21:09:03 +02:00
KEEP="dist|package.json|yarn.lock|client|builder|build|pm2.config.js|docker_run.sh"
echo "Removing unneeded build files:"
2022-10-21 21:09:54 +02:00
ls | egrep -v $KEEP | xargs rm -rfv
NODE_ENV=production yarn