Add --allow-net to test task

This commit is contained in:
2026-10-11 11:49:42 -03:00
parent ab2b8e6545
commit 1623b91ddf
+1 -1
View File
@@ -6,7 +6,7 @@
"new-mod": "deno run --allow-read --allow-write tools/new_mod.ts",
"check-mods": "deno run --allow-read --allow-run tools/check_mods.ts",
"pack-mod": "deno run --allow-read --allow-write --allow-run --allow-env tools/pack_mod.ts",
"test": "deno test --allow-read --allow-write --allow-run tests/",
"test": "deno test --allow-read --allow-write --allow-run --allow-net tests/",
"bench": "deno bench --allow-read --allow-write --allow-run tests/",
"desktop": "deno run -A build.ts --once && deno desktop --allow-read --allow-write --allow-net --allow-ffi --allow-env=BWORLD_SERVER,BWORLD_CLIENT_UPDATES,HOME,USERPROFILE,APPDATA,XDG_DATA_HOME,DEBUG --include build --include server_mods --include server/game/worker.ts --include server/game/worldgen_worker.ts --include desktop/config.json desktop/main.ts && deno run --allow-read --allow-write desktop/linux_launcher.ts dist/bworld",
"desktop-all": "deno run -A tools/desktop_all.ts"