aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/peertube-runner.sh
blob: 9c326747bac0c3d5165bc4c1b85579b0d33070a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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 --target=node14 --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js