aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-28 14:55:15 +0200
committerChocobozzz <me@florianbigard.com>2022-09-28 14:55:15 +0200
commit31ee48d579c9e43bae8c16e6ba6568f99aecc146 (patch)
treefd39b295d5401d318045b16a828bf646d8053012 /scripts
parent3fca30a7ef5de53dff7ef7b3122daa0849e4bdc0 (diff)
downloadPeerTube-31ee48d579c9e43bae8c16e6ba6568f99aecc146.tar.gz
PeerTube-31ee48d579c9e43bae8c16e6ba6568f99aecc146.tar.zst
PeerTube-31ee48d579c9e43bae8c16e6ba6568f99aecc146.zip
Fix error when running setup:cli
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/cli.sh2
-rwxr-xr-xscripts/setup/cli.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/dev/cli.sh b/scripts/dev/cli.sh
index 327792a19..39ecaad94 100755
--- a/scripts/dev/cli.sh
+++ b/scripts/dev/cli.sh
@@ -13,4 +13,4 @@ mkdir -p "./dist/server/tools"
13cp -r "./server/tools/node_modules" "./dist/server/tools" 13cp -r "./server/tools/node_modules" "./dist/server/tools"
14 14
15cd ./server/tools 15cd ./server/tools
16../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:all"' 16../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:server"'
diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh
index f84260f23..2e9b8a505 100755
--- a/scripts/setup/cli.sh
+++ b/scripts/setup/cli.sh
@@ -14,5 +14,4 @@ rm -rf ./dist/server/tools/
14 14
15cp -r "./server/tools/node_modules" "./dist/server/tools" 15cp -r "./server/tools/node_modules" "./dist/server/tools"
16 16
17npm run resolve-tspaths:cli
18npm run resolve-tspaths:server 17npm run resolve-tspaths:server