adding more parser — starts breaking the build
This commit is contained in:
@@ -27,7 +27,6 @@ const cflags = &[_][]const u8{
|
||||
"-Wformat=2",
|
||||
"-fno-common",
|
||||
"-Wconversion",
|
||||
"-Wswitch-enum",
|
||||
"-Wuninitialized",
|
||||
"-Wdouble-promotion",
|
||||
"-fstack-protector-all",
|
||||
@@ -80,7 +79,7 @@ pub fn build(b: *std.Build) !void {
|
||||
|
||||
const lint_step = b.step("lint", "Run linters");
|
||||
const clang_format = b.addSystemCommand(&.{"clang-format"});
|
||||
clang_format.addArgs(&.{ "--style=webkit", "-i" });
|
||||
clang_format.addArgs(&.{ "--style=webkit", "--verbose", "-Werror", "-i" });
|
||||
for (all_c_files ++ headers) |f| clang_format.addFileArg(b.path(f));
|
||||
lint_step.dependOn(&clang_format.step);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user