2023-04-21 08:05:27 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
|
|
|
|
cd ./packages/peertube-runner
|
|
|
|
rm -rf ./dist
|
|
|
|
|
|
|
|
../../node_modules/.bin/tsc -b --verbose
|
|
|
|
rm -rf ./dist
|
|
|
|
mkdir ./dist
|
|
|
|
|
2023-05-02 06:51:06 -05:00
|
|
|
./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
|