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