1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +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

View file

@ -0,0 +1,13 @@
#!/bin/bash
set -eu
cd ./packages/peertube-runner
rm -rf ./dist
../../node_modules/.bin/tsc -b --verbose
rm -rf ./dist
mkdir ./dist
./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --platform=node --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js