f2ab12e65b
- checkout.el and main.el: replace raw import of el-html vessel with direct extern fn declarations; implementations come from dist/elhtml_impl.c (c_source) - Add src/elhtml.el as reference file (all el-html extern fn declarations; not imported) - dist/elhtml_impl.c: pre-compiled el-html vessel C (strips int main + sample global) - dist/page_close.c: pre-compiled page_close implementation; elc OOMs after emitting the ~71KB page_open body and silently drops page_close, so supply it as c_source - manifest.el: add elhtml_impl.c and page_close.c as c_source entries - .gitignore: un-ignore dist/elhtml_impl.c and dist/page_close.c
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
.env
|
|
# Build output dir. Hand-written sources under dist/ are explicitly
|
|
# un-ignored at the bottom of this file - those must travel with the
|
|
# repo so future builds can re-produce a working image.
|
|
dist/*
|
|
.el/
|
|
src/*.elc
|
|
src/*.elh
|
|
src/*.html
|
|
src/*.map.json
|
|
|
|
# Compiled client-side JS (generated by elc --target=js at build time).
|
|
# The El sources live in src/js/; the compiled output is never committed.
|
|
dist/js/
|
|
|
|
# El JS runtime staged temporarily during build (auto-cleaned by build-stage.sh).
|
|
src/js/el_runtime.js
|
|
|
|
# Old extracted JS assets (replaced by elc-compiled dist/js/).
|
|
src/assets/js/
|
|
|
|
# Track hand-written source under dist/ that is NOT generated by elc.
|
|
# These are the C stub shims and entry scripts the Dockerfile.stage COPYs
|
|
# into the image; without these the build cannot produce a working
|
|
# binary. Generated artifacts (main.c, main-combined.el, binaries) stay
|
|
# ignored.
|
|
!dist/web_stubs.c
|
|
!dist/vessel_stubs.c
|
|
!dist/soul-demo.c
|
|
!dist/page_close.c
|
|
!dist/elhtml_impl.c
|
|
!dist/entrypoint.sh
|
|
!dist/engram-snapshot.json
|