forked from denoland/wasmbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
18 lines (18 loc) · 969 Bytes
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"exclude": [
"./tests/target",
"./target"
],
"tasks": {
"fmt": "deno fmt && cargo fmt",
"build": "deno run -A ./main.ts -p wasmbuild",
"build:bindgen-upgrade": "WASMBUILD_BINDGEN_UPGRADE=1 deno task build",
"build:lkg": "deno run -A https://deno.land/x/[email protected]/main.ts -p wasmbuild",
"test": "cd tests && rm -rf lib lib_out_js_file lib_sync lib_no_cache && deno task test:main && deno task test:no-cache && deno task test:sync && deno task test:js-ext && deno test -A && deno task test:check",
"test:main": "cd tests && deno run -A ../main.ts -p deno_test",
"test:sync": "deno task test:main --sync --out lib_sync",
"test:no-cache": "deno task test:main --no-cache --out lib_no_cache",
"test:js-ext": "deno task test:main --js-ext mjs --out lib_out_js_file && cat tests/lib_out_js_file/deno_test.generated.mjs > /dev/null",
"test:check": "deno task test:main --check && deno task test:sync --check"
}
}