aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManlio Perillo <[email protected]>2023-05-13 11:45:55 +0200
committerManlio Perillo <[email protected]>2023-05-14 17:20:47 +0200
commit164df04618976f386dccb9e7a761d66cd6b97627 (patch)
tree800f4ecc671397cc4cf254dde991ce2b95e1a4c4
parentab94a50b3ff8db4930f4a83be3ef2b438a43a383 (diff)
downloadziglings-164df04618976f386dccb9e7a761d66cd6b97627.tar.xz
ziglings-164df04618976f386dccb9e7a761d66cd6b97627.zip
build: remove the special eowyn build mode
The special eowyn mode was added in order to improve the performance of the Eowyn Github workflow. Remove it, since it adds unnecessary complexity to the `build.zig` file. Closes #297
-rw-r--r--build.zig23
1 files changed, 0 insertions, 23 deletions
diff --git a/build.zig b/build.zig
index 189b426..f4f80d8 100644
--- a/build.zig
+++ b/build.zig
@@ -192,29 +192,6 @@ pub fn build(b: *Build) !void {
start_step.dependOn(&prev_step.step);
return;
- } else if (healed and false) {
- // Special case when healed by the eowyn script, where we can make the
- // code more efficient.
- //
- // TODO: this branch is disabled because it prevents the normal case to
- // be executed.
- const test_step = b.step("test", "Test the healed exercises");
- b.default_step = test_step;
-
- for (exercises) |ex| {
- const build_step = ex.addExecutable(b, healed_path);
- b.installArtifact(build_step);
-
- const run_step = b.addRunArtifact(build_step);
- if (ex.skip) {
- const skip_step = SkipStep.create(b, ex);
- test_step.dependOn(&skip_step.step);
- } else {
- test_step.dependOn(&run_step.step);
- }
- }
-
- return;
}
// Run all exercises in a row