forked from GNOME/gtk
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
26 lines (22 loc) · 1.57 KB
/
Copy pathdeno.json
File metadata and controls
26 lines (22 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "@discere-os/gtk.wasm",
"exports": {
".": "./",
"./side": "./install/wasm/gtk-side.wasm",
"./main": "./install/wasm/gtk-main.js"
},
"tasks": {
"build:wasm": "bash scripts/unified-build.sh standard",
"build:minimal": "bash scripts/unified-build.sh minimal",
"build:standard": "bash scripts/unified-build.sh standard",
"build:webgpu": "bash scripts/unified-build.sh webgpu",
"demo": "deno run --allow-read demo-deno.ts",
"test": "deno test --allow-read tests/deno/",
"clean": "rm -rf build build-* install _build_wasm",
"fetch-deps": "FETCH_ONLY=true bash scripts/unified-build.sh standard",
"manifest": "deno run --allow-read --allow-write --allow-run ../../../../scripts/generate-wasm-manifest.ts .",
"build:deps:meson": "bash -lc 'set -e; cd ..; libs=( zlib.wasm libexpat.wasm libffi.wasm libpng.wasm libjpeg-turbo.wasm libtiff.wasm pixman.wasm freetype.wasm fontconfig.wasm fribidi.wasm harfbuzz.wasm cairo.wasm gdk-pixbuf.wasm pango.wasm graphene.wasm glib.wasm epoxy.wasm icu.wasm ); for d in \"${libs[@]}\"; do echo \"[deps] Building $d (SIDE)\"; (cd $d && if deno task | grep -q build:side:meson; then deno task build:side; elif deno task | grep -q build:side; then deno task build:side; elif deno task | grep -q build:wasm:meson; then deno task build:wasm; elif deno task | grep -q build:wasm; then deno task build:wasm; else echo \"No suitable build task found in $d\"; fi); done'",
"build:wasm": "deno task build:deps:meson && bash scripts/unified-build.sh standard",
"build:all:meson": "deno task build:wasm"
}
}