PeerTube/scripts/danger/clean/dev.sh

9 lines
198 B
Bash
Executable File

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