aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/danger/clean/dev.sh
blob: 270ca0a2e0f7be9ec5ec33766dc178bcb82bb722 (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=test npm run ts-node "./scripts/danger/clean/cleaner"
fi