From 9332fc67b5091d99d448ea0a740ee14b78cc2715 Mon Sep 17 00:00:00 2001 From: ED Date: Wed, 15 Jan 2020 16:30:30 +0000 Subject: [PATCH] Add Format set to build --- build.zig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.zig b/build.zig index de58a15..e3dd276 100644 --- a/build.zig +++ b/build.zig @@ -29,6 +29,13 @@ pub fn build(b: *Builder) !void { else => unreachable, }; + const fmt_step = b.addFmt(&[_][]const u8{ + "build.zig", + "src", + "test", + }); + b.default_step.dependOn(&fmt_step.step); + const main_src = "src/kernel/kmain.zig"; const constants_path = try fs.path.join(b.allocator, &[_][]const u8{ "src/kernel/arch", target_str, "constants.zig" });