Add --allow-net to test task
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
"new-mod": "deno run --allow-read --allow-write tools/new_mod.ts",
|
"new-mod": "deno run --allow-read --allow-write tools/new_mod.ts",
|
||||||
"check-mods": "deno run --allow-read --allow-run tools/check_mods.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",
|
"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/",
|
"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": "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"
|
"desktop-all": "deno run -A tools/desktop_all.ts"
|
||||||
|
|||||||
Reference in New Issue
Block a user