aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/peertube-runner.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-04-21 15:05:27 +0200
committerChocobozzz <chocobozzz@cpy.re>2023-05-09 08:57:34 +0200
commit1772b383de490cf406fe93ef3aa3a941f6db513c (patch)
tree7cecc404c8d71951c22079e9bf5180095981b7f9 /scripts/build/peertube-runner.sh
parent118626c8752bee7b05c4e0b668852e1aba2416f1 (diff)
downloadPeerTube-1772b383de490cf406fe93ef3aa3a941f6db513c.tar.gz
PeerTube-1772b383de490cf406fe93ef3aa3a941f6db513c.tar.zst
PeerTube-1772b383de490cf406fe93ef3aa3a941f6db513c.zip
Add peertube runner cli
Diffstat (limited to 'scripts/build/peertube-runner.sh')
-rwxr-xr-xscripts/build/peertube-runner.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/build/peertube-runner.sh b/scripts/build/peertube-runner.sh
new file mode 100755
index 000000000..690031af5
--- /dev/null
+++ b/scripts/build/peertube-runner.sh
@@ -0,0 +1,13 @@
1#!/bin/bash
2
3set -eu
4
5
6cd ./packages/peertube-runner
7rm -rf ./dist
8
9../../node_modules/.bin/tsc -b --verbose
10rm -rf ./dist
11mkdir ./dist
12
13./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --platform=node --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js