From a9487c246fc35346bc4646af28341a2bb6a83209 Mon Sep 17 00:00:00 2001 From: Zendril <kenneth.s.brooks@gmail.com> Date: Tue, 4 Feb 2025 22:24:52 -0500 Subject: [PATCH] cleanup for PR --- build.zig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.zig b/build.zig index 335a415..fd72881 100644 --- a/build.zig +++ b/build.zig @@ -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);