X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fsetup%2Fcli.sh;h=2e9b8a5053920d35cb76cfea6cbe82f1588104bc;hb=4cf800a350972a078c074da6b31da2b98ab4b007;hp=9808868d3267abb6a74df3836df317a4c6fb3dd8;hpb=46b2cec73c3ee10fe9f751a301e4afff0a56b371;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh index 9808868d3..2e9b8a505 100755 --- a/scripts/setup/cli.sh +++ b/scripts/setup/cli.sh @@ -9,8 +9,9 @@ rm -rf ./dist/server/tools/ ( cd ./server/tools yarn install --pure-lockfile + ../../node_modules/.bin/tsc --build --verbose ) -npm run tsc -- --build ./server/tools/tsconfig.json +cp -r "./server/tools/node_modules" "./dist/server/tools" -mv "./server/tools/node_modules" "./dist/server/tools" +npm run resolve-tspaths:server