From: Ben Harris Date: Sat, 13 Sep 2025 21:12:08 +0000 (+0100) Subject: Minimal build system and test page for Bedstead-in-WASM X-Git-Tag: bedstead-3.261~70 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=861c4749e6b7b3537c71c20451db2338677631da;p=bedstead.git Minimal build system and test page for Bedstead-in-WASM Just allows for typing a command line and seeing the output. --- diff --git a/Makefile b/Makefile index fb38014..6e9d205 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,9 @@ bedstead-complement.ps: bedstead bedstead-complement.pdf: bedstead-complement.ps bedstead.otf Fontmap ps2pdf -P $< $@ +%.js: %.c + emcc -sMODULARIZE -sEXPORT_ES6 -sEXIT_RUNTIME=1 -sSTRICT -o $@ $< + .PHONY: clean clean: rm -f bedstead *.ttx *.otf *.bdf *.bdf.ps *.png *.pdf \ diff --git a/webstead.xhtml b/webstead.xhtml new file mode 100644 index 0000000..95fa47b --- /dev/null +++ b/webstead.xhtml @@ -0,0 +1,21 @@ + + + + Bedstead editor test + + + +
+ + + +
+ +