diff options
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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", |