Open
Description
require "foo/bar/baz"
After i test it, it seem like the lookup path is: (assume CRYSTAL_PATH is lib)
lib/foo/bar/baz.cr
lib/foo/bar/baz/baz.cr
lib/foo/src/bar/baz.cr
But, i never saw any document mention it.
I consider this is a really important concept for the crystal user, but i understood it until now because there no document.
Before this, i have to use absolute path from the lib. e.g. require "foo/src/bar/baz"
Metadata
Metadata
Assignees
Labels
No labels