From f64595393b202e54f097c22e839d33db67528c6a Mon Sep 17 00:00:00 2001 From: iddev5 Date: Mon, 23 May 2022 12:26:28 +0530 Subject: [PATCH] mach: include example name in step descriptions --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index 077c6a5b..e6928ed4 100644 --- a/build.zig +++ b/build.zig @@ -61,13 +61,13 @@ pub fn build(b: *std.build.Builder) void { example_app.link(options); example_app.install(); - const example_compile_step = b.step("example-" ++ example.name, "Compile the example"); + const example_compile_step = b.step("example-" ++ example.name, "Compile '" ++ example.name ++ "' example"); example_compile_step.dependOn(&example_app.getInstallStep().?.step); if (target.toTarget().cpu.arch != .wasm32) { const example_run_cmd = example_app.run(); example_run_cmd.step.dependOn(&example_app.getInstallStep().?.step); - const example_run_step = b.step("run-example-" ++ example.name, "Run the example"); + const example_run_step = b.step("run-example-" ++ example.name, "Run '" ++ example.name ++ "' example"); example_run_step.dependOn(&example_run_cmd.step); } }