Skip to main content

max / makenotwork

Restore build.rs's half of the time-axis link bd44f102 bumped makeover-build to 0.52.0, gitignored static/timing.css and linked it from shell.rs, but landed without build.rs's side of the change: no makeover_build::timing_css call, so the sheet shell.rs links twice was never generated and every page 404s on it. The cause was mine and not that commit's. A concurrent session staged server/build.rs into the shared index while bd44f102 was being prepared, so the commit captured the wrong blob for that one file. Fixed forward rather than by amending, since bd44f102 is unpushed but another session may already be tracking its sha. This restores the timing_css call and the comments that go with it. The write_if_changed fix for the generated quasi scripts is already in bd44f102 and is deliberately not re-applied here.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-26 15:47 UTC
Signed with PGP, not checked
Commit: 4fb8d5a50efca646f7ca9ff13d48276e98941e3b
Parent: bd44f10
1 file changed, +14 insertions, -9 deletions
M server/build.rs +14 -9
@@ -11,12 +11,12 @@
11 11 // Compile the TypeScript frontend to static/dist/ (best-effort, see fn).
12 12 build_frontend();
13 13
14 - // The two generated stylesheets. Spacing comes from makeover-geometry and
15 - // composition from makeover-webview, the same way colour already comes
16 - // from makeover through theming.rs. Written into static/ rather than a
17 - // bundle directory because the server serves its stylesheets; both are
18 - // gitignored, since the crates are the source and a checked-in copy would
19 - // drift from the pin.
14 + // The three generated stylesheets. Spacing comes from makeover-geometry,
15 + // time from makeover-timing and composition from makeover-webview, the
16 + // same way colour already comes from makeover through theming.rs. Written
17 + // into static/ rather than a bundle directory because the server serves
18 + // its stylesheets; all three are gitignored, since the crates are the
19 + // source and a checked-in copy would drift from the pin.
20 20 //
21 21 // No explicit touch selector: density hangs off (hover: none),
22 22 // (pointer: coarse) alone, because the server has no mode class to key it
@@ -57,6 +57,10 @@
57 57 }
58 58
59 59 makeover_build::geometry_css("static/geometry.css", None);
60 + // The time axis, beside the spacing one and for the same reason: the
61 + // durations are makeover-timing's answer, and a number typed into a
62 + // hand-written sheet here is the drift that crate exists to end.
63 + makeover_build::timing_css("static/timing.css");
60 64 makeover_build::layout_css("static/layout.css", &makeover_build::Emit::default());
61 65
62 66 // The embeds get their own copy of the spacing layer, because they are
@@ -200,11 +204,12 @@
200 204 // the TypeScript changes. Read-only: the inputs under frontend/src are the
201 205 // watched trigger (in build_frontend); watching the outputs would loop.
202 206 hash_dir_js(Path::new("static/dist"), &mut hasher);
203 - // Same treatment for the two generated stylesheets: read-only, so a bump
204 - // of makeover-geometry or makeover-webview busts `?v=` without the build
205 - // script watching a file it writes itself.
207 + // Same treatment for the generated stylesheets: read-only, so a bump of
208 + // makeover-geometry, makeover-timing or makeover-webview busts `?v=`
209 + // without the build script watching a file it writes itself.
206 210 for path in [
207 211 "static/geometry.css",
212 + "static/timing.css",
208 213 "static/layout.css",
209 214 "static/embed-geometry.css",
210 215 // The tokens and the @font-face rules. Note what this does NOT cover: