1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tools
Leo Kettmeir 393abed387
feat: bring back WebGPU (#20812)
Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-12-09 01:19:16 +01:00
..
napi feat: Adaptations to support OpenBSD port (#19153) 2023-06-12 13:14:27 +03:00
node_compat chore: update node_compat test suites to v18.18.2 (#21328) 2023-11-25 11:35:36 +09:00
release chore: break up some steps in release checklist (#21329) 2023-11-24 13:00:39 -05:00
wpt feat(ext/web): add ImageData Web API (#21183) 2023-12-06 14:20:28 +01:00
build_bench.ts chore(core): build_bench tool (#19387) 2023-06-06 18:53:41 +00:00
build_benchmark_jsons.js chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
copyright_checker.js refactor(cli/tools): split bench into multiple modules (#19974) 2023-07-28 11:27:10 -04:00
core_import_map.json feat(ext/web): add ImageData Web API (#21183) 2023-12-06 14:20:28 +01:00
cut_a_release.md chore: make the start_release workflow go faster (#15416) 2022-08-08 19:31:45 -04:00
deno.lock.json chore: upgrade rusty_v8 to 0.71.2 (#19116) 2023-05-13 21:11:40 +02:00
format.js chore: temp fix for tools/format.js (#21360) 2023-11-27 22:51:00 +00:00
install_prebuilt.js chore: remove third_party submodule (#20201) 2023-08-19 09:56:12 +05:30
lint.js feat(unstable): ability to npm install then deno run main.ts (#20967) 2023-10-25 14:39:00 -04:00
README.md feat: bring back WebGPU (#20812) 2023-12-09 01:19:16 +01:00
update_typescript.md fix: update to TypeScript 4.7.4 (#15022) 2022-07-04 15:13:50 +10:00
upload_wptfyi.js wpt: only tag daily runs as master (#18155) 2023-03-13 13:24:16 +01:00
util.js chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
verify_pr_title.js chore(ci): allow 'Reland' PR title prefix (#18273) 2023-03-18 21:15:45 +00:00
wgpu_sync.js feat: bring back WebGPU (#20812) 2023-12-09 01:19:16 +01:00
wpt.ts feat(ext/web): add ImageData Web API (#21183) 2023-12-06 14:20:28 +01:00

Tools

Documentation for various tooling in support of Deno development.

format.js

This script will format the code (currently using dprint, rustfmt). It is a prerequisite to run this before code check in.

To run formatting:

deno run --allow-read --allow-write --allow-run --unstable ./tools/format.js

lint.js

This script will lint the code base (currently using dlint, clippy). It is a prerequisite to run this before code check in.

To run linting:

deno run --allow-read --allow-write --allow-run --unstable ./tools/lint.js

Tip: You can also use cargo to run the current or pending build of the deno executable

cargo run -- run --allow-read --allow-write --allow-run --unstable ./tools/<script>

wgpu_sync.js

wgpu_sync.js streamlines updating deno_webgpu from gfx-rs/wgpu.

It essentially vendors the deno_webgpu tree with a few minor patches applied on top, somewhat similar to git subtree.

  1. Update COMMIT or V_WGPU in ./tools/wgpu_sync.js
  2. Run ./tools/wgpu_sync.js
  3. Double check changes, possibly patch
  4. Commit & send a PR with the updates

copyright_checker.js is used to check copyright headers in the codebase.

To run the copyright checker:

deno run --allow-read --allow-run --unstable  ./tools/copyright_checker.js

Then it will check all code files in the repository and report any files that are not properly licensed.