mirror of https://github.com/Chocobozzz/PeerTube
16 lines
261 B
Bash
16 lines
261 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -eu
|
||
|
|
||
|
rm -rf ./dist/server/tools/
|
||
|
|
||
|
(
|
||
|
cd ./server/tools
|
||
|
yarn install --pure-lockfile
|
||
|
)
|
||
|
|
||
|
mkdir -p "./dist/server/tools"
|
||
|
cp -r "./server/tools/node_modules" "./dist/server/tools"
|
||
|
|
||
|
npm run tsc -- --watch --project ./server/tools/tsconfig.json
|