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

Isolating src and compiled files #75

Closed
activestylus opened this issue Dec 16, 2013 · 3 comments
Closed

Isolating src and compiled files #75

activestylus opened this issue Dec 16, 2013 · 3 comments

Comments

@activestylus
Copy link

File duplication between .moon and .lua files can be a bit obfuscating. Is it possible set up a proper src folder? It would rock even more if one Tupfile could be assigned to said src directory and delegate all the compilation to a mirrored 'build' directory with all the .lua files.

Current method is ok for smaller apps. But building a decent sized api could get tedious

@felipemxg
Copy link
Contributor

MoonScript compiler has the option to change the output directory using the flag '-t'. All you have to do is

moonc -t build/ .

This will compile all the .moon sources in the current directory and send the compiled .lua sources to the build/ folder.

@velikanov
Copy link

@activestylus, don't you want to close this issue?

@activestylus
Copy link
Author

Good idea

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