aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/danger/clean/prod.sh
blob: 705987100476b399e817a78f5716e292befeb23f (plain) (tree)
1
2
3
4
5
6
7
8

           

                                                                                       

                                 
                                                                      
  
#!/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=production npm run ts-node "./scripts/danger/clean/cleaner"
fi