Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating pure moonscript modules #159

Closed
Xe opened this issue Aug 14, 2014 · 3 comments
Closed

Creating pure moonscript modules #159

Xe opened this issue Aug 14, 2014 · 3 comments

Comments

@Xe
Copy link

Xe commented Aug 14, 2014

How do you create a lua rock that is pure moonscript code?

@leafo
Copy link
Owner

leafo commented Aug 14, 2014

I personally compile the moonscript ahead of time and commit it into the repo and rock so people downloading don't have to have moonscript installed to use. Do you not want to do that?

@Xe
Copy link
Author

Xe commented Aug 15, 2014

I don't want to have the lua code in the repository no.

@RyanSquared
Copy link
Contributor

You should be able to do it the same as Lua modules, right? If you load MoonScript in your program whether via require() or via moon, the path is updated to mirror Lua module search paths to work with MoonScript files.

@Xe Xe closed this as completed Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants