diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/copyright_checker.js | 2 | ||||
| -rw-r--r-- | tools/deno.json | 4 | ||||
| -rwxr-xr-x | tools/format.js | 2 | ||||
| -rwxr-xr-x | tools/install_prebuilt.js | 2 | ||||
| -rwxr-xr-x | tools/jsdoc_checker.js | 2 | ||||
| -rwxr-xr-x | tools/lint.js | 2 | ||||
| -rw-r--r-- | tools/util.js | 8 | ||||
| -rwxr-xr-x | tools/wgpu_sync.js | 2 |
8 files changed, 14 insertions, 10 deletions
diff --git a/tools/copyright_checker.js b/tools/copyright_checker.js index 4ffde77c1..486b32ba7 100755 --- a/tools/copyright_checker.js +++ b/tools/copyright_checker.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --allow-read=. --allow-run=git +#!/usr/bin/env -S deno run --allow-read=. --allow-run=git --config=tests/config/deno.json // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { getSources, ROOT_PATH } from "./util.js"; diff --git a/tools/deno.json b/tools/deno.json new file mode 100644 index 000000000..6e0d332db --- /dev/null +++ b/tools/deno.json @@ -0,0 +1,4 @@ +{ + "lock": false, + "importMap": "../import_map.json" +} diff --git a/tools/format.js b/tools/format.js index e7b8f0d5f..c1f151b55 100755 --- a/tools/format.js +++ b/tools/format.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --allow-write --allow-read --allow-run --allow-net +#!/usr/bin/env -S deno run --allow-write --allow-read --allow-run --allow-net --config=tests/config/deno.json // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { join, ROOT_PATH } from "./util.js"; diff --git a/tools/install_prebuilt.js b/tools/install_prebuilt.js index d8430b472..0c983d405 100755 --- a/tools/install_prebuilt.js +++ b/tools/install_prebuilt.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-net +#!/usr/bin/env -S deno run --unstable --allow-write --allow-read --allow-net --config=tests/config/deno.json // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { getPrebuilt } from "./util.js"; diff --git a/tools/jsdoc_checker.js b/tools/jsdoc_checker.js index 4cbccf535..3e5dc0371 100755 --- a/tools/jsdoc_checker.js +++ b/tools/jsdoc_checker.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --allow-read --allow-env --allow-sys +#!/usr/bin/env -S deno run --allow-read --allow-env --allow-sys --config=tests/config/deno.json // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { Node, Project, ts } from "npm:ts-morph@22.0.0"; import { join, ROOT_PATH } from "./util.js"; diff --git a/tools/lint.js b/tools/lint.js index dad963160..aa02a3e2b 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --allow-write --allow-read --allow-run --allow-net +#!/usr/bin/env -S deno run --allow-write --allow-read --allow-run --allow-net --config=tests/config/deno.json // 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/util.js b/tools/util.js index 251aaa1fa..2f0904bc4 100644 --- a/tools/util.js +++ b/tools/util.js @@ -5,12 +5,12 @@ import { join, resolve, toFileUrl, -} from "../tests/util/std/path/mod.ts"; +} from "@std/path/mod.ts"; import { wait } from "https://deno.land/x/wait@0.1.13/mod.ts"; export { dirname, fromFileUrl, join, resolve, toFileUrl }; -export { existsSync, walk } from "../tests/util/std/fs/mod.ts"; -export { TextLineStream } from "../tests/util/std/streams/text_line_stream.ts"; -export { delay } from "../tests/util/std/async/delay.ts"; +export { existsSync, walk } from "@std/fs/mod.ts"; +export { TextLineStream } from "@std/streams/text_line_stream.ts"; +export { delay } from "@std/async/delay.ts"; // [toolName] --version output const versions = { diff --git a/tools/wgpu_sync.js b/tools/wgpu_sync.js index 4939983c2..1d9e180d5 100755 --- a/tools/wgpu_sync.js +++ b/tools/wgpu_sync.js @@ -1,4 +1,4 @@ -#!/usr/bin/env -S deno run --unstable --allow-read --allow-write --allow-run +#!/usr/bin/env -S deno run --unstable --allow-read --allow-write --allow-run --config=tests/config/deno.json // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { join, ROOT_PATH } from "./util.js"; |
