From fcf78f3d56493440eb2288096ec6bb9d538a7edb Mon Sep 17 00:00:00 2001 From: dylan <> Date: Sat, 6 May 2023 18:00:22 -0700 Subject: [PATCH] Add cross-compile options to deno.json --- deno.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deno.json b/deno.json index 5db6fef..ffbd4c4 100644 --- a/deno.json +++ b/deno.json @@ -4,6 +4,8 @@ }, "tasks": { "run": "deno run -A --unstable index.ts", - "build": "deno compile --output build/faux -A --unstable index.ts" + "build": "deno compile --output build/faux -A --unstable index.ts", + "build_linux": "deno compile --output build/faux_linux --target x86_64-unknown-linux-gnu -A --unstable index.ts", + "build_windows": "deno compile --output build/faux_windows --target x86_64-pc-windows-msvc -A --unstable index.ts" } }