From 8d2be0ed7bb87283a1ec98609df6b82d83db706a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Jul 2019 17:23:24 +0200 Subject: WIP plugins: move plugin CLI in peertube script Install/uninstall/list plugins remotely --- scripts/dev/cli.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 scripts/dev/cli.sh (limited to 'scripts/dev/cli.sh') diff --git a/scripts/dev/cli.sh b/scripts/dev/cli.sh new file mode 100755 index 000000000..4b6fe5508 --- /dev/null +++ b/scripts/dev/cli.sh @@ -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 -- cgit v1.2.3