90609c7aaf
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 1m57s
elc's heredoc tokenizer was corrupting the inline CSS: - #FAFAF8 -> FAFAF8 (# treated as comment character) - 'Playfair Display' -> PlayfairDisplay (quotes + space stripped) - padding: 0 2.5rem -> padding:02.5rem (spaces between tokens stripped) The CSS and other complex head content (GA script, JSON-LD schema) have been pre-compiled to C functions (page_css, page_ga_script, page_schema) so they bypass the tokenizer entirely and are stored as properly-escaped C string literals. page_head() now assembles the <head> content using el-html vessel calls (el_meta_charset, el_meta, el_title, el_link_stylesheet, etc.) plus string literals for the vessel gaps. page_open() returns the complete document prologue as a string concatenation with no heredocs. page_close() remains pre-compiled in dist/page_close.c (unchanged).
44 lines
1.3 KiB
Plaintext
44 lines
1.3 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/page_css.c
|
|
!dist/page_ga.c
|
|
!dist/page_schema.c
|
|
!dist/elhtml_impl.c
|
|
!dist/entrypoint.sh
|
|
!dist/engram-snapshot.json
|
|
!dist/Dockerfile.soul-demo
|
|
!dist/k3s-soul-demo.yaml
|
|
|
|
# Build artifacts produced by the soul-demo packaging step in build-stage.sh
|
|
dist/soul-demo
|
|
dist/soul-demo-snapshot.json
|
|
dist/soul-demo-image.tar
|