aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/dev.sh
blob: 5f09565cf0071b8506d90df2cf0d34f2d6fb7828 (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=test node "./scripts/danger/clean/cleaner"
fi