Closed LPGhatguy closed 6 years ago
Lemur should support the same sort of file structures that Rojo does.
In Roact, I wrote code to do this in the benchmark and spec scripts, which seems non-ideal. Essentially every project I've started brings in that function or something equivalent to it.
Rojo is (currently) the standard tool for syncing code into Roblox from the filesystem, so lining up with its conventions makes sense. Rojo also happens to line up with how stock Lua loads folders as modules.
Closed by https://github.com/LPGhatguy/lemur/commit/74286fdacd7ba01024d18839371d6b8aa4b8ff96.
The optional loadFromFs option loadInitModules, which is enabled by default, controls this feature.
loadFromFs
loadInitModules
Lemur should support the same sort of file structures that Rojo does.
In Roact, I wrote code to do this in the benchmark and spec scripts, which seems non-ideal. Essentially every project I've started brings in that function or something equivalent to it.
Rojo is (currently) the standard tool for syncing code into Roblox from the filesystem, so lining up with its conventions makes sense. Rojo also happens to line up with how stock Lua loads folders as modules.