add script to compile
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m3s

This commit is contained in:
Fijxu 2025-03-24 20:43:17 -03:00
parent cae1dad04e
commit df3b5ee769
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

4
compile.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
cd ./invidious-companion
deno compile --include ./src/lib/helpers/youtubePlayerReq.ts --include ./src/lib/helpers/getFetchClient.ts --output ../invidious_companion --allow-import=github.com:443,jsr.io:443,raw.githubusercontent.com:443,esm.sh:443,deno.land:443 --allow-net --allow-env --allow-read --allow-sys=hostname --allow-write=/var/tmp/youtubei.js src/main.ts