From fbdabee863d0bec6560d3b473b6cf5c248c18bb1 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 22 Oct 2022 07:44:28 -0700 Subject: [PATCH] {dev,libs}: update linter for standard project files generation Signed-off-by: Stephen Gutekanst --- dev/ensure-standard-files.zig | 10 +++++++++- libs/gpu-dawn/.gitignore | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev/ensure-standard-files.zig b/dev/ensure-standard-files.zig index 4a17ed6c..10feb287 100644 --- a/dev/ensure-standard-files.zig +++ b/dev/ensure-standard-files.zig @@ -38,7 +38,15 @@ pub fn main() !void { copyFile("dev/template/.github/FUNDING.yml", libs ++ project ++ "/.github/FUNDING.yml"); } - appendToFile("libs/freetype/.gitignore", "\n/out.svg\n"); + appendToFile("libs/freetype/.gitignore", + \\ + \\/out.svg + ); + appendToFile("libs/gpu-dawn/.gitignore", + \\ + \\libs/DirectXShaderCompiler + \\libs/dawn + ); } pub fn copyFile(src_path: []const u8, dst_path: []const u8) void { diff --git a/libs/gpu-dawn/.gitignore b/libs/gpu-dawn/.gitignore index 361ee3e4..ea8441ad 100644 --- a/libs/gpu-dawn/.gitignore +++ b/libs/gpu-dawn/.gitignore @@ -18,4 +18,4 @@ zig-out/ /docgen_tmp/ libs/DirectXShaderCompiler -libs/dawn +libs/dawn \ No newline at end of file