1
0
Fork 0
peertube/scripts/dev/cli.sh
2020-11-25 10:07:51 +01:00

15 lines
275 B
Bash
Executable file

#!/bin/bash
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 --sourceMap --project ./server/tools/tsconfig.json