From cbb5c9dd231104820f2bf2c4e1689b097f93f236 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sat, 11 Jul 2026 18:59:31 -0700 Subject: skip dotfiles while compiling shaders Force-Push: yeah of course Change-Id: I2b8937b53e0c329f20ed51a9806ca2c085ecf9f0 --- build.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.rs b/build.rs index 593ef3f..dde9a94 100644 --- a/build.rs +++ b/build.rs @@ -19,6 +19,13 @@ fn process_all () -> std::io::Result<()> { continue; } + if let Some(Some(filename)) = input_path.file_name() + .map(|name| name.to_str()) + && filename.get(.. 1) == Some(".") + { + continue; + } + let output_path = Path::new(&out_dir) .join(format!("{}.spv", -- cgit 1.4.1