]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/dev/cli.sh
4bf4808b8947d14091b8e46f40d26fc0cdc86656
[github/Chocobozzz/PeerTube.git] / scripts / dev / cli.sh
1 #!/bin/bash
2
3 set -eu
4
5 rm -rf ./dist/server/tools/
6
7 (
8 cd ./server/tools
9 yarn install --pure-lockfile
10 )
11
12 mkdir -p "./dist/server/tools"
13 cp -r "./server/tools/node_modules" "./dist/server/tools"
14
15 npm run tsc -- --watch --sourceMap --project ./server/tools/tsconfig.json