aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-13 11:09:38 +0200
committerChocobozzz <me@florianbigard.com>2019-06-13 11:09:38 +0200
commit1a12f66d631d28a5a58ebbcd274426f2e6e5d203 (patch)
treeedaf546dfc8bcdb55d271111618e65569aa68cc0 /scripts
parent4913295f9db1a7b814129d90b159a418cb32bb75 (diff)
downloadPeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.tar.gz
PeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.tar.zst
PeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.zip
Add more CLI tests
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/clean/server/test.sh2
-rwxr-xr-xscripts/setup/cli.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.sh
index 34afd6a9d..20745170d 100755
--- a/scripts/clean/server/test.sh
+++ b/scripts/clean/server/test.sh
@@ -13,7 +13,7 @@ recreateDB () {
13} 13}
14 14
15removeFiles () { 15removeFiles () {
16 rm -rf "./test$1" "./config/local-test.json" "./config/local-test-$1.json" 16 rm -rf "./test$1" "./config/local-test.json" "./config/local-test-$1.json" ~/.config/PeerTube/CLI-$1
17} 17}
18 18
19dropRedis () { 19dropRedis () {
diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh
index 9808868d3..f761d7f8a 100755
--- a/scripts/setup/cli.sh
+++ b/scripts/setup/cli.sh
@@ -12,5 +12,4 @@ rm -rf ./dist/server/tools/
12) 12)
13 13
14npm run tsc -- --build ./server/tools/tsconfig.json 14npm run tsc -- --build ./server/tools/tsconfig.json
15 15cp -r "./server/tools/node_modules" "./dist/server/tools"
16mv "./server/tools/node_modules" "./dist/server/tools"