diff options
Diffstat (limited to 'scripts/build/peertube-runner.sh')
-rwxr-xr-x | scripts/build/peertube-runner.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/build/peertube-runner.sh b/scripts/build/peertube-runner.sh index 7f6ad5ede..321d10b4b 100755 --- a/scripts/build/peertube-runner.sh +++ b/scripts/build/peertube-runner.sh | |||
@@ -2,12 +2,11 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | 5 | cd ./apps/peertube-runner | |
6 | cd ./packages/peertube-runner | ||
7 | rm -rf ./dist | 6 | rm -rf ./dist |
8 | 7 | ||
9 | ../../node_modules/.bin/tsc -b --verbose | 8 | ../../node_modules/.bin/tsc -b --verbose |
10 | rm -rf ./dist | 9 | rm -rf ./dist |
11 | mkdir ./dist | 10 | mkdir ./dist |
12 | 11 | ||
13 | ./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --platform=node --target=node16 --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js | 12 | node ./scripts/build.js |