Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit 3f03ab6

Browse files
committed
Move the definition of the fmt step up in build.zig to make it more prominent.
1 parent 4eae995 commit 3f03ab6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.zig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub fn build(b: *std.Build) anyerror!void {
1515

1616
const install_step = b.getInstallStep();
1717
const check_step = b.step("check", "Run source code and documentation checks");
18+
const fmt_step = b.step("fmt", "Fix source code formatting");
1819
const test_step = b.step("test", "Build and run tests");
1920
const vscode_step = b.step("vscode", "Build VS Code extension");
2021
const install_vscode_step = b.step("install-vscode", "Install VS Code extension");
@@ -84,7 +85,7 @@ pub fn build(b: *std.Build) anyerror!void {
8485
.check = true,
8586
}).step);
8687

87-
b.step("fmt", "Fix source code formatting").dependOn(&b.addFmt(.{
88+
fmt_step.dependOn(&b.addFmt(.{
8889
.paths = fmt_paths,
8990
}).step);
9091

0 commit comments

Comments
 (0)