]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/setup/cli.sh
chore(refactor): remove shared folder dependencies to the server
[github/Chocobozzz/PeerTube.git] / scripts / setup / cli.sh
1 #!/bin/sh
2
3 set -eu
4
5 NOCLIENT=1 yarn install --pure-lockfile
6
7 rm -rf ./dist/server/tools/
8
9 (
10 cd ./server/tools
11 yarn install --pure-lockfile
12 )
13
14 npm run tsc -- --build --verbose ./server/tools/tsconfig.json
15 cp -r "./server/tools/node_modules" "./dist/server/tools"
16 cp "./tsconfig.json" "./dist"