1
0
Fork 0
peertube/scripts/danger/clean/prod.sh
2018-03-27 10:35:12 +02:00

10 lines
240 B
Bash
Executable file

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