1
0
Fork 0
peertube/scripts/dev/cli.sh
Chocobozzz 8d2be0ed7b WIP plugins: move plugin CLI in peertube script
Install/uninstall/list plugins remotely
2019-07-24 10:58:16 +02:00

15 lines
261 B
Bash
Executable file

#!/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