aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/prod.sh
blob: e6c92671de60130de74decadae19ae5b7338bd90 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/bash

read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r

if [[ "$REPLY" =~ ^[Yy]$ ]]; then
  NODE_ENV=production node "./scripts/danger/clean/cleaner"
fi