-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
deno.json
24 lines (24 loc) · 1.14 KB
/
deno.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"tasks": {
"check": "deno task check:deno && deno task check:rust",
"check:deno": "deno check --unstable mod.ts",
"check:rust": "cargo check --target wasm32-unknown-unknown --release",
"fmt": "deno task fmt:deno && deno task fmt:rust",
"fmt:deno": "deno fmt --unstable",
"fmt:rust": "cargo fmt",
"lint": "deno task lint:deno && deno task lint:rust",
"lint:deno": "deno lint --unstable",
"lint:rust": "cargo clippy --target wasm32-unknown-unknown --release -- -D clippy::all -A clippy::missing_safety_doc -A clippy::undocumented_unsafe_blocks",
"build": "deno task build:wasm && deno task build:wgsl",
"build:wasm": "deno run --allow-run --allow-read --allow-write scripts/build_wasm.ts neo_wasm backend/wasm/wasm.js",
"build:wgsl": "deno run --allow-read --allow-write scripts/build_wgsl.ts \"backend/webgpu/shaders/*\"",
"bench": "deno bench -A --unstable benchmarks/matmul.ts && deno bench -A --unstable benchmarks/transpose.ts && deno bench -A --unstable benchmarks/unary.ts && deno bench -A --unstable benchmarks/binary.ts"
},
"fmt": {
"files": {
"exclude": [
"target/"
]
}
}
}