aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-11 17:23:24 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit8d2be0ed7bb87283a1ec98609df6b82d83db706a (patch)
tree31a36b252df32be83ceb77658a53b57f9d15e8ac /scripts/dev
parentdba85a1e9e9f603ba52e1ea42deaf3fdd799b1d8 (diff)
downloadPeerTube-8d2be0ed7bb87283a1ec98609df6b82d83db706a.tar.gz
PeerTube-8d2be0ed7bb87283a1ec98609df6b82d83db706a.tar.zst
PeerTube-8d2be0ed7bb87283a1ec98609df6b82d83db706a.zip
WIP plugins: move plugin CLI in peertube script
Install/uninstall/list plugins remotely
Diffstat (limited to 'scripts/dev')
-rwxr-xr-xscripts/dev/cli.sh15
1 files changed, 15 insertions, 0 deletions
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 @@
1#!/bin/sh
2
3set -eu
4
5rm -rf ./dist/server/tools/
6
7(
8 cd ./server/tools
9 yarn install --pure-lockfile
10)
11
12mkdir -p "./dist/server/tools"
13cp -r "./server/tools/node_modules" "./dist/server/tools"
14
15npm run tsc -- --watch --project ./server/tools/tsconfig.json