diff options
Diffstat (limited to 'scripts/build/peertube-runner.sh')
-rwxr-xr-x | scripts/build/peertube-runner.sh | 13 |
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 | |||
3 | set -eu | ||
4 | |||
5 | |||
6 | cd ./packages/peertube-runner | ||
7 | rm -rf ./dist | ||
8 | |||
9 | ../../node_modules/.bin/tsc -b --verbose | ||
10 | rm -rf ./dist | ||
11 | mkdir ./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 | ||