aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/danger/clean/dev.sh
blob: 14b45e13bd7f44c0d9949b05142f5a24f39cbc1f (plain) (tree)
1
2
3
4
5
6
7
8
9

           

       

                                                                                       

                                 
                                                                              
  
#!/bin/bash

set -eu

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 npm run ts-node -- --type-check "scripts/danger/clean/cleaner"
fi