]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/dev/cli.sh
Use bash to run scripts
[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 --project ./server/tools/tsconfig.json