specify backend's deno config file and add run permission in build script
This commit is contained in:
2
build.sh
2
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 {
|
||||
|
||||
Reference in New Issue
Block a user