diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-13 21:45:23 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-13 21:45:23 +0200 |
commit | 82221ac920ad2e6bafc742a09fa1636899d4173e (patch) | |
tree | 4c7928dd457d9e3b223bd2835ae0d23cd3c87d41 /scripts/danger/clean/dev.sh | |
parent | 0b10407e465d639cd141fe8821a8504a0b7b83fb (diff) | |
download | PeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.tar.gz PeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.tar.zst PeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.zip |
Update clean script
Diffstat (limited to 'scripts/danger/clean/dev.sh')
-rwxr-xr-x | scripts/danger/clean/dev.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/danger/clean/dev.sh b/scripts/danger/clean/dev.sh new file mode 100755 index 000000000..5f09565cf --- /dev/null +++ b/scripts/danger/clean/dev.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r | ||
4 | |||
5 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then | ||
6 | NODE_ENV=test node "./scripts/danger/clean/cleaner" | ||
7 | fi | ||