1
0
Fork 0
peertube/scripts/danger/clean/dev.sh
2017-06-11 15:19:43 +02:00

8 lines
209 B
Bash
Executable file

#!/bin/bash
read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
echo
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
NODE_ENV=test npm run ts-node "./scripts/danger/clean/cleaner"
fi