2022-06-16 21:38:24 +02:00
|
|
|
#!/bin/bash
|
2022-10-09 09:35:21 +02:00
|
|
|
KEEP="dist package.json yarn.lock client builder build pm2.config.js docker_run.sh"
|
|
|
|
ls | grep -v $(echo ${KEEP} | awk '{split($0,a," ");for (i in a) printf "-e ^"a[i]"$ "}') | xargs rm -fr
|
2022-06-16 21:38:24 +02:00
|
|
|
NODE_ENV=production yarn
|