PeerTube/scripts/dev/cli.sh

16 lines
263 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 --project ./server/tools/tsconfig.json