diff options
Diffstat (limited to 'scripts/clean')
-rwxr-xr-x | scripts/clean/client/dist.sh | 6 | ||||
-rwxr-xr-x | scripts/clean/server/dist.sh | 4 | ||||
-rwxr-xr-x | scripts/clean/server/test.sh | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/scripts/clean/client/dist.sh b/scripts/clean/client/dist.sh index ea6f7d644..19b89de77 100755 --- a/scripts/clean/client/dist.sh +++ b/scripts/clean/client/dist.sh | |||
@@ -1,4 +1,6 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | cd client || exit -1 | 3 | set -eu |
4 | |||
5 | cd client | ||
4 | rm -rf compiled/ dist/ dll/ | 6 | rm -rf compiled/ dist/ dll/ |
diff --git a/scripts/clean/server/dist.sh b/scripts/clean/server/dist.sh index be8135b8f..50722cb44 100755 --- a/scripts/clean/server/dist.sh +++ b/scripts/clean/server/dist.sh | |||
@@ -1,3 +1,5 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/bin/sh |
2 | |||
3 | set -eu | ||
2 | 4 | ||
3 | rm -rf dist/ | 5 | rm -rf dist/ |
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.sh index b56021874..7d353e375 100755 --- a/scripts/clean/server/test.sh +++ b/scripts/clean/server/test.sh | |||
@@ -1,4 +1,6 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/bin/sh |
2 | |||
3 | set -eu | ||
2 | 4 | ||
3 | for i in $(seq 1 6); do | 5 | for i in $(seq 1 6); do |
4 | dropdb "peertube_test$i" | 6 | dropdb "peertube_test$i" |