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

Generate stub Elixir code by macros instead of a module file #156

Open
zacky1972 opened this issue Dec 12, 2020 · 1 comment
Open

Generate stub Elixir code by macros instead of a module file #156

zacky1972 opened this issue Dec 12, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@zacky1972
Copy link
Collaborator

Current Pelemay generates a stub Elixir code as a module file in Application.app_dir(:pelemay, "priv").

This implementation has an issue that Pelemay code cannot be executed at all in case that the file cannot be generated.

So, Pelemay should generate it as macros instead of a module file.

@zacky1972 zacky1972 added the enhancement New feature or request label Dec 12, 2020
@zacky1972
Copy link
Collaborator Author

I believe that will be useful to support mix upload.hotswap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant