diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-13 11:09:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-13 11:09:38 +0200 |
commit | 1a12f66d631d28a5a58ebbcd274426f2e6e5d203 (patch) | |
tree | edaf546dfc8bcdb55d271111618e65569aa68cc0 /scripts | |
parent | 4913295f9db1a7b814129d90b159a418cb32bb75 (diff) | |
download | PeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.tar.gz PeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.tar.zst PeerTube-1a12f66d631d28a5a58ebbcd274426f2e6e5d203.zip |
Add more CLI tests
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clean/server/test.sh | 2 | ||||
-rwxr-xr-x | scripts/setup/cli.sh | 3 |
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 | ||
15 | removeFiles () { | 15 | removeFiles () { |
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 | ||
19 | dropRedis () { | 19 | dropRedis () { |
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 | ||
14 | npm run tsc -- --build ./server/tools/tsconfig.json | 14 | npm run tsc -- --build ./server/tools/tsconfig.json |
15 | 15 | cp -r "./server/tools/node_modules" "./dist/server/tools" | |
16 | mv "./server/tools/node_modules" "./dist/server/tools" | ||