aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/prod.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/danger/clean/prod.sh')
-rwxr-xr-xscripts/danger/clean/prod.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/danger/clean/prod.sh b/scripts/danger/clean/prod.sh
new file mode 100755
index 000000000..e6c92671d
--- /dev/null
+++ b/scripts/danger/clean/prod.sh
@@ -0,0 +1,7 @@
1#!/bin/bash
2
3read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r
4
5if [[ "$REPLY" =~ ^[Yy]$ ]]; then
6 NODE_ENV=production node "./scripts/danger/clean/cleaner"
7fi