]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - scripts/danger/clean/prod.sh
Fix peertube script
[github/Chocobozzz/PeerTube.git] / scripts / danger / clean / prod.sh
... / ...
CommitLineData
1#!/bin/bash
2
3set -eu
4
5read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
6echo
7
8if [[ "$REPLY" =~ ^[Yy]$ ]]; then
9 NODE_ENV=production npm run ts-node -- --type-check "./scripts/danger/clean/cleaner"
10fi