odin doesn't compile project if the name of project folder is like name.odin
#2596
Closed
jsomedon
started this conversation in
Ideas/Requests
Replies: 1 comment
-
As we discussed on the Discord, this is not a bug, per se, because directories are just files at the end of the day. Odin does look for files within a directory ending with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say your project is in a folder
name.odin
, if youodin run name.odin
, or if youcd name.odin
thenodin run .
the compilation fails with errors like:It looks like the compiler is treating the project folder as a single file(well, isn't everything file on unix?😄)
If odin could support folder names to be ending with
.odin
, then we could name our project aswhatever.odin
on like github, and I think that would be pretty cool. We see similar naming on zig and rust communities, like for rust, they have names likeproject.rs
, for zig they have likeproject.zig
.Beta Was this translation helpful? Give feedback.
All reactions