From 374d5e91ac0d8c25e6f461ec9919dfd3192e8242 Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Sun, 29 Nov 2020 12:13:19 +0100 Subject: Don't format in build script We let CI catch unformatted code and let users run fmt in the best way for them --- build.zig | 8 -------- 1 file changed, 8 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index c32f4c2..ef67a5f 100644 --- a/build.zig +++ b/build.zig @@ -8,13 +8,6 @@ pub fn build(b: *Builder) void { const mode = b.standardReleaseOptions(); const target = b.standardTargetOptions(.{}); - const fmt_step = b.addFmt(&[_][]const u8{ - "build.zig", - "clap.zig", - "clap", - "example", - }); - const test_all_step = b.step("test", "Run all tests in all modes."); inline for ([_]Mode{ Mode.Debug, Mode.ReleaseFast, Mode.ReleaseSafe, Mode.ReleaseSmall }) |test_mode| { const mode_str = comptime modeToString(test_mode); @@ -56,7 +49,6 @@ pub fn build(b: *Builder) void { all_step.dependOn(example_step); all_step.dependOn(readme_step); - b.default_step.dependOn(&fmt_step.step); b.default_step.dependOn(all_step); } -- cgit v1.2.3