Add tests for npm run scripts
[oweals/peertube.git] / scripts / danger / clean / prod.sh
1 #!/bin/bash
2
3 read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
4 echo
5
6 if [[ "$REPLY" =~ ^[Yy]$ ]]; then
7   NODE_ENV=production npm run ts-node "./scripts/danger/clean/cleaner"
8 fi