diff options
| author | Zendril <kenneth.s.brooks@gmail.com> | 2025-02-04 22:24:52 -0500 |
|---|---|---|
| committer | Zendril <kenneth.s.brooks@gmail.com> | 2025-02-04 22:24:52 -0500 |
| commit | a9487c246fc35346bc4646af28341a2bb6a83209 (patch) | |
| tree | 25936c070fe4c34345e4b840324cc1514c8fb3fc /build.zig | |
| parent | e09c11a16a12dde4f88b4abbd867626008734a23 (diff) | |
cleanup for PR
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -294,11 +294,13 @@ pub fn build(b: *Build) !void { } } - for (exercises[starting_exercise..]) |ex| { - const verify_stepn = ZiglingStep.create(b, ex, work_path, .normal); - verify_stepn.step.dependOn(prev_step); + for (exercises) |ex| { + if (starting_exercise < ex.number()) { + const verify_stepn = ZiglingStep.create(b, ex, work_path, .normal); + verify_stepn.step.dependOn(prev_step); - prev_step = &verify_stepn.step; + prev_step = &verify_stepn.step; + } } ziglings_step.dependOn(prev_step); |
