X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fsetup%2Fcli.sh;h=f84260f23849d42bb92f9bd00bab26c25be5b1f0;hb=ba24a31c26ff566ea419399c3a49bf9d170bc66b;hp=9808868d3267abb6a74df3836df317a4c6fb3dd8;hpb=46b2cec73c3ee10fe9f751a301e4afff0a56b371;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh index 9808868d3..f84260f23 100755 --- a/scripts/setup/cli.sh +++ b/scripts/setup/cli.sh @@ -9,8 +9,10 @@ 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:cli +npm run resolve-tspaths:server