mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Clean shell scripts (#398)
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#!/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"
|
||||
NODE_ENV=test npm run ts-node -- --type-check "scripts/danger/clean/cleaner"
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
read -p "This will remove all node server and client modules. Are you sure? " -n 1 -r
|
||||
|
||||
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
|
||||
echo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user