aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean
diff options
context:
space:
mode:
authorLéo Andrès <leo@ndrs.fr>2018-03-27 09:35:12 +0100
committerChocobozzz <me@florianbigard.com>2018-03-27 10:35:12 +0200
commit0e4ffb4b678962d5ff7a4a7d8952033bc84725da (patch)
treeb116dfe4244f645aa1c4740039544010ef7c3194 /scripts/clean
parentd5b7d9110dd637a7f67ce9e430145314812a8df1 (diff)
downloadPeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.gz
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.tar.zst
PeerTube-0e4ffb4b678962d5ff7a4a7d8952033bc84725da.zip
Clean shell scripts (#398)
Diffstat (limited to 'scripts/clean')
-rwxr-xr-xscripts/clean/client/dist.sh6
-rwxr-xr-xscripts/clean/server/dist.sh4
-rwxr-xr-xscripts/clean/server/test.sh4
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
3cd client || exit -1 3set -eu
4
5cd client
4rm -rf compiled/ dist/ dll/ 6rm -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
3set -eu
2 4
3rm -rf dist/ 5rm -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
3set -eu
2 4
3for i in $(seq 1 6); do 5for i in $(seq 1 6); do
4 dropdb "peertube_test$i" 6 dropdb "peertube_test$i"