aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/peertube-runner.sh
diff options
context:
space:
mode:
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