2022-06-17 07:38:24 +12:00
|
|
|
#!/bin/bash
|
2022-10-09 20:35:21 +13: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-17 07:38:24 +12:00
|
|
|
NODE_ENV=production yarn
|