1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Add peertube runner cli

This commit is contained in:
Chocobozzz 2023-04-21 15:05:27 +02:00 committed by Chocobozzz
parent 118626c875
commit 1772b383de
34 changed files with 2071 additions and 4 deletions

11
scripts/dev/peertube-runner.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -eu
rm -rf ./packages/peertube-runner/dist
cd ./packages/peertube-runner
../../node_modules/.bin/concurrently -k \
"../../node_modules/.bin/tsc -w --noEmit" \
"./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --sourcemap --platform=node --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --watch --outfile=dist/peertube-runner.js"