WIP plugins: move plugin CLI in peertube script
Install/uninstall/list plugins remotely
This commit is contained in:
parent
dba85a1e9e
commit
8d2be0ed7b
26 changed files with 452 additions and 191 deletions
15
scripts/dev/cli.sh
Executable file
15
scripts/dev/cli.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue