Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

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

Open
LPGhatguy opened this issue Oct 13, 2018 · 3 comments
Open

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

LPGhatguy opened this issue Oct 13, 2018 · 3 comments

Comments

@LPGhatguy
Copy link
Owner

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.

@Kampfkarren
Copy link
Contributor

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).

@LPGhatguy
Copy link
Owner Author

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

@Kampfkarren
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants