PeerTube/scripts/dev/cli.sh

16 lines
275 B
Bash
Raw Normal View History

2020-02-19 08:56:24 +01:00
#!/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"
2020-11-24 14:08:23 +01:00
npm run tsc -- --watch --sourceMap --project ./server/tools/tsconfig.json