1
0
Fork 0
peertube/scripts/danger/clean/dev.sh

11 lines
232 B
Bash
Raw Normal View History

2016-10-13 15:45:23 -04:00
#!/bin/bash
2018-03-27 04:35:12 -04:00
set -eu
2016-12-25 03:44:13 -05:00
read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
echo
2016-10-13 15:45:23 -04:00
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
2018-03-27 04:35:12 -04:00
NODE_ENV=test npm run ts-node -- --type-check "scripts/danger/clean/cleaner"
2016-10-13 15:45:23 -04:00
fi