projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add tests for npm run scripts
[oweals/peertube.git]
/
scripts
/
danger
/
clean
/
prod.sh
1
#!/bin/bash
2
3
read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
4
echo
5
6
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
7
NODE_ENV=production npm run ts-node "./scripts/danger/clean/cleaner"
8
fi