diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-28 14:55:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-28 14:55:15 +0200 |
commit | 31ee48d579c9e43bae8c16e6ba6568f99aecc146 (patch) | |
tree | fd39b295d5401d318045b16a828bf646d8053012 /scripts | |
parent | 3fca30a7ef5de53dff7ef7b3122daa0849e4bdc0 (diff) | |
download | PeerTube-31ee48d579c9e43bae8c16e6ba6568f99aecc146.tar.gz PeerTube-31ee48d579c9e43bae8c16e6ba6568f99aecc146.tar.zst PeerTube-31ee48d579c9e43bae8c16e6ba6568f99aecc146.zip |
Fix error when running setup:cli
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/cli.sh | 2 | ||||
-rwxr-xr-x | scripts/setup/cli.sh | 1 |
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" | |||
13 | cp -r "./server/tools/node_modules" "./dist/server/tools" | 13 | cp -r "./server/tools/node_modules" "./dist/server/tools" |
14 | 14 | ||
15 | cd ./server/tools | 15 | cd ./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 | ||
15 | cp -r "./server/tools/node_modules" "./dist/server/tools" | 15 | cp -r "./server/tools/node_modules" "./dist/server/tools" |
16 | 16 | ||
17 | npm run resolve-tspaths:cli | ||
18 | npm run resolve-tspaths:server | 17 | npm run resolve-tspaths:server |