2016-10-13 14:45:23 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-12-25 02:44:13 -06:00
|
|
|
read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
|
|
|
|
echo
|
2016-10-13 14:45:23 -05:00
|
|
|
|
|
|
|
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
|
2017-06-12 13:34:50 -05:00
|
|
|
NODE_ENV=production npm run ts-node "./scripts/danger/clean/cleaner"
|
2016-10-13 14:45:23 -05:00
|
|
|
fi
|