specify backend's deno config file and add run permission in build script

This commit is contained in:
Robin Chappatte
2024-06-22 18:20:03 +02:00
parent f7f5f4954d
commit 8412cc7d9d

View File

@@ -28,7 +28,7 @@ function build_backend {
function compile_for {
target=$1
mkdir -p "./dist/bin"
deno compile --target "$target" --output "./dist/bin/$target" --allow-net --allow-read --allow-write --allow-sys ./backend/src/main.ts
deno compile --config "./backend/deno.json" --target "$target" --output "./dist/bin/$target" --allow-net --allow-read --allow-write --allow-sys --allow-run ./backend/src/main.ts
}
function compile_all {