aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index/build.odin4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index/build.odin b/src/index/build.odin
index 187ec42..511f8ff 100644
--- a/src/index/build.odin
+++ b/src/index/build.odin
@@ -29,6 +29,10 @@ walk_static_index_build :: proc(info: os.File_Info, in_err: os.Errno) -> (err: o
return 0, false;
}
+ if filepath.ext(info.name) != ".odin" {
+ return 0, false;
+ }
+
append(&files, strings.clone(info.fullpath, context.allocator));
return 0, false;