From 21ac70827e879cdbf713f87fcf9902641455e873 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sun, 22 Jan 2023 14:50:46 -0700 Subject: [PATCH] dev: update ensure-standard-files script Signed-off-by: Stephen Gutekanst --- .gitattributes | 2 +- dev/ensure-standard-files.zig | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index bdce4b37..71ad27c7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,3 @@ * text=auto eol=lf upstream/** linguist-vendored -libs/model3d/src/c/** linguist-vendored +libs/model3d/src/c/** linguist-vendored \ No newline at end of file diff --git a/dev/ensure-standard-files.zig b/dev/ensure-standard-files.zig index c30e8ffb..f944d59f 100644 --- a/dev/ensure-standard-files.zig +++ b/dev/ensure-standard-files.zig @@ -8,6 +8,7 @@ const std = @import("std"); const projects = [_][]const u8{ ".", "basisu", + "earcut", "ecs", "freetype", "gamemode", @@ -17,7 +18,6 @@ const projects = [_][]const u8{ "model3d", "sysaudio", "sysjs", - "earcut", }; pub fn main() !void { @@ -48,6 +48,7 @@ pub fn main() !void { \\libs/DirectXShaderCompiler \\libs/dawn ); + appendToFile(".gitattributes", "libs/model3d/src/c/** linguist-vendored"); } pub fn copyFile(src_path: []const u8, dst_path: []const u8) void {