diff options
| author | Gabriel Schneider <[email protected]> | 2026-06-30 20:29:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-06-30 22:21:44 -0300 |
| commit | f6089186cfe1517073fafc8979a7546ec773d6c1 (patch) | |
| tree | cfb474b5a5cff5d7197aa5084ea6013a0c53df6f /build.zig | |
| parent | 8b60c2c29c016c7db0fa6ee63769cea1defd9b3c (diff) | |
| download | pardes-f6089186cfe1517073fafc8979a7546ec773d6c1.tar.gz pardes-f6089186cfe1517073fafc8979a7546ec773d6c1.zip | |
stealing petsciinatorfull-prototype
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -176,6 +176,19 @@ pub fn build(b: *std.Build) void { unit_step.dependOn(&run_unit.step); test_step.dependOn(&run_unit.step); + // petscii.zig is likewise pure (std only) — fold its matcher tests into both + // the unit-test and the umbrella test step. + const petscii_tests = b.addTest(.{ + .root_module = b.createModule(.{ + .target = target, + .optimize = optimize, + .root_source_file = b.path("petscii.zig"), + }), + }); + const run_petscii = b.addRunArtifact(petscii_tests); + unit_step.dependOn(&run_petscii.step); + test_step.dependOn(&run_petscii.step); + // Tutor practice blocks as unit tests: a second `zig test` target over the // generated tutor_cases.zig (which imports modal.zig). Depends on tutor-gen // so the file is (re)generated first. |
