diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/README.md | 8 | ||||
-rwxr-xr-x | tools/build_bench.ts | 2 | ||||
-rw-r--r-- | tools/copyright_checker.js | 2 | ||||
-rwxr-xr-x | tools/format.js | 2 | ||||
-rwxr-xr-x | tools/lint.js | 2 | ||||
-rwxr-xr-x | tools/napi/generate_symbols_lists.js | 2 | ||||
-rw-r--r-- | tools/release/deno_workspace.ts | 2 | ||||
-rw-r--r-- | tools/wpt/runner.ts | 4 |
8 files changed, 13 insertions, 11 deletions
diff --git a/tools/README.md b/tools/README.md index 012302733..71722f55b 100644 --- a/tools/README.md +++ b/tools/README.md @@ -10,7 +10,7 @@ prerequisite to run this before code check in. To run formatting: ```sh -deno run --allow-read --allow-write --allow-run --unstable ./tools/format.js +deno run --allow-read --allow-write --allow-run ./tools/format.js ``` ## lint.js @@ -21,14 +21,14 @@ prerequisite to run this before code check in. To run linting: ```sh -deno run --allow-read --allow-write --allow-run --unstable ./tools/lint.js +deno run --allow-read --allow-write --allow-run ./tools/lint.js ``` Tip: You can also use cargo to run the current or pending build of the deno executable ```sh -cargo run -- run --allow-read --allow-write --allow-run --unstable ./tools/<script> +cargo run -- run --allow-read --allow-write --allow-run ./tools/<script> ``` ## wgpu_sync.js @@ -51,7 +51,7 @@ on top, somewhat similar to `git subtree`. To run the _copyright checker_: ```sh -deno run --allow-read --allow-run --unstable ./tools/copyright_checker.js +deno run --allow-read --allow-run ./tools/copyright_checker.js ``` Then it will check all code files in the repository and report any files that diff --git a/tools/build_bench.ts b/tools/build_bench.ts index 46075ccf0..31f7a29a9 100755 --- a/tools/build_bench.ts +++ b/tools/build_bench.ts @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --unstable --allow-env --allow-read --allow-write --allow-run +#!/usr/bin/env -S deno run --allow-env --allow-read --allow-write --allow-run // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import $ from "https://deno.land/x/dax@0.32.0/mod.ts"; diff --git a/tools/copyright_checker.js b/tools/copyright_checker.js index 78118cb00..8aaa77fa1 100644 --- a/tools/copyright_checker.js +++ b/tools/copyright_checker.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --unstable --allow-read=. --allow-run=git +#!/usr/bin/env -S deno run --allow-read=. --allow-run=git // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { getSources, ROOT_PATH } from "./util.js"; diff --git a/tools/format.js b/tools/format.js index dfc6f9b9e..46f57e7f2 100755 --- a/tools/format.js +++ b/tools/format.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run --allow-net +#!/usr/bin/env -S deno run --allow-write --allow-read --allow-run --allow-net // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { join, ROOT_PATH } from "./util.js"; diff --git a/tools/lint.js b/tools/lint.js index ed2a04eee..0eae493fd 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-run --allow-net +#!/usr/bin/env -S deno run --allow-write --allow-read --allow-run --allow-net // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { buildMode, getPrebuilt, getSources, join, ROOT_PATH } from "./util.js"; import { checkCopyright } from "./copyright_checker.js"; diff --git a/tools/napi/generate_symbols_lists.js b/tools/napi/generate_symbols_lists.js index 8a5592c51..1909c5b50 100755 --- a/tools/napi/generate_symbols_lists.js +++ b/tools/napi/generate_symbols_lists.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --unstable --allow-read --allow-write +#!/usr/bin/env -S deno run --allow-read --allow-write // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import exports from "../../cli/napi/sym/symbol_exports.json" assert { diff --git a/tools/release/deno_workspace.ts b/tools/release/deno_workspace.ts index e82f3fa18..7e249cf2d 100644 --- a/tools/release/deno_workspace.ts +++ b/tools/release/deno_workspace.ts @@ -54,7 +54,7 @@ export class DenoWorkspace { async runFormatter() { await this.#repo.command( - "deno run --unstable --allow-write --allow-read --allow-net --allow-run ./tools/format.js", + "deno run --allow-write --allow-read --allow-net --allow-run ./tools/format.js", ); } } diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts index 47e6bb2f5..2da3a95de 100644 --- a/tools/wpt/runner.ts +++ b/tools/wpt/runner.ts @@ -100,7 +100,9 @@ export async function runSingleTest( const args = [ "run", "-A", - "--unstable", + "--unstable-broadcast-channel", + "--unstable-webgpu", + "--unstable-net", "--v8-flags=--expose-gc", ]; |