lemur icon indicating copy to clipboard operation
lemur copied to clipboard

Make loadFromFs handle .server.lua and .client.lua files

Open LPGhatguy opened this issue 6 years ago • 3 comments

Matching the convention Rojo set here makes sense. Lemur should find .server.lua and .client.lua files and import them as Script and LocalScript instances, respectively.

LPGhatguy avatar Oct 13 '18 00:10 LPGhatguy

I implemented this in my local build, but it still just turns them into ModuleScripts (much easier to unit test for the way I do it).

Kampfkarren avatar Oct 13 '18 00:10 Kampfkarren

That's probably not a good idea for Lemur itself, since it means that your tests don't work inside actual Roblox.

LPGhatguy avatar Oct 13 '18 00:10 LPGhatguy

Fair. My entire testing setup is designed without actual Roblox testing being achievable.

Kampfkarren avatar Oct 13 '18 00:10 Kampfkarren