From 8412cc7d9d1227bd25d25b97c8059016921e243d Mon Sep 17 00:00:00 2001 From: Robin Chappatte Date: Sat, 22 Jun 2024 18:20:03 +0200 Subject: [PATCH] specify backend's deno config file and add run permission in build script --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e9f9de7..8a3471d 100755 --- a/build.sh +++ b/build.sh @@ -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 {