diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-31 19:01:28 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:08 -0300 |
| commit | 41847fce244fdd0d01971c302b89d1252f6497ed (patch) | |
| tree | 95de3957c7c4f92866f36af6d05af442842892a5 /build.zig | |
| parent | 911215846f1d5a9b2e37a00e74fb9266d4a0884a (diff) | |
| download | pardes-41847fce244fdd0d01971c302b89d1252f6497ed.tar.gz pardes-41847fce244fdd0d01971c302b89d1252f6497ed.zip | |
a wheel tick slides the pane instead of jumping it
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -724,6 +724,15 @@ pub fn build(b: *std.Build) void { // is a second thing to keep in step. const core_test = b.addTest(.{ .root_module = hx_core_mod }); unit_step.dependOn(&b.addRunArtifact(core_test).step); + // gui.zig's own inline tests (the smooth-scroll ease). Only reachable + // with -Dplatform=gui, and it links the SAME module the gui exe does + // for the same reason core_test does: SDL, the shaders and the font + // are already wired onto it, and a second wiring is a second thing to + // keep in step. + if (platform == .gui) { + const gui_test = b.addTest(.{ .root_module = root_mod }); + unit_step.dependOn(&b.addRunArtifact(gui_test).step); + } } } |
