dev: update ensure-standard-files script

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-01-22 14:50:46 -07:00
parent 5267233347
commit 21ac70827e
2 changed files with 3 additions and 2 deletions

2
.gitattributes vendored
View file

@ -1,3 +1,3 @@
* text=auto eol=lf
upstream/** linguist-vendored
libs/model3d/src/c/** linguist-vendored
libs/model3d/src/c/** linguist-vendored

View file

@ -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 {