2020 "test:basic" : " deno test --allow-read --no-check tests/deno/basic.test.ts" ,
2121 "bench" : " deno bench --allow-read bench/" ,
2222 "bench:compression" : " deno bench --allow-read bench/compression.bench.ts" ,
23- "build" : " deno task build:wasm" ,
24- "build:wasm " : " ./ build-dual.sh " ,
25- "build:side" : " npm run build: side" ,
26- "build:main " : " npm run build:main" ,
23+ "build" : " deno task build:wasm:meson " ,
24+ "build:main:meson " : " meson setup build-main --cross-file=scripts/emscripten.cross --prefix=$PWD/install -Dlibdir=wasm -Dbindir=wasm && meson compile -C build-main libjpeg-main && meson install -C build-main " ,
25+ "build:side:meson " : " meson setup build-side --cross-file=scripts/emscripten.cross --prefix=$PWD/install -Dlibdir=wasm -Dbindir=wasm && meson compile -C build-side libjpeg-side && meson install -C build- side" ,
26+ "build:wasm:meson " : " deno task build:main:meson && deno task build:side:meson " ,
2727 "build:npm" : " deno run --allow-all _build_npm.ts" ,
2828 "build:all" : " deno task build:wasm && deno task build:npm" ,
2929 "publish:npm" : " deno task build:all && cd npm && npm publish" ,
3030 "publish:dry" : " deno task build:all && cd npm && npm publish --dry-run" ,
3131 "publish:jsr" : " deno publish" ,
32- "clean" : " rm -rf build-main/ build-side / dist/ npm/" ,
32+ "clean" : " rm -rf build-* install / dist/ npm/" ,
3333 "check" : " deno check src/lib/index.ts" ,
3434 "check:all" : " deno check src/lib/index.ts && deno check demo-deno.ts" ,
3535 "fmt" : " deno fmt src/ tests/ demo-deno.ts bench/" ,
5454 "include" : [" tests/deno/" ],
5555 "exclude" : [" tests/unit/" ]
5656 }
57- }
57+ }
0 commit comments