diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-13 10:09:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-13 10:09:48 -0300 |
| commit | 771e377f6db9c3aed1ab85bc36a774f4176272cc (patch) | |
| tree | 6fc14d41139976a514efc4817c8f7c64d9856719 /gui/build.zig | |
| parent | 5c0230ea5a77f85de77ad4354788cd6c27aa1ef6 (diff) | |
| download | computeranim-771e377f6db9c3aed1ab85bc36a774f4176272cc.tar.gz computeranim-771e377f6db9c3aed1ab85bc36a774f4176272cc.zip | |
debugger: decouple font zoom from window size and add restart
Diffstat (limited to 'gui/build.zig')
| -rw-r--r-- | gui/build.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/build.zig b/gui/build.zig index 3e09631..bedba3d 100644 --- a/gui/build.zig +++ b/gui/build.zig @@ -64,4 +64,10 @@ pub fn build(b: *std.Build) void { adaptive.addFileArg(b.graph.path(.install_bin, "ztrace-gui")); adaptive.step.dependOn(b.getInstallStep()); tests.dependOn(&adaptive.step); + const restart = b.addSystemCommand(&.{"python3"}); + restart.addFileArg(b.path("test/restart.py")); + restart.addArg("--gui"); + restart.addFileArg(b.graph.path(.install_bin, "ztrace-gui")); + restart.step.dependOn(b.getInstallStep()); + tests.dependOn(&restart.step); } |
