elixir_make icon indicating copy to clipboard operation
elixir_make copied to clipboard

[Proposal] Add a feature building after executing a macro

Open zacky1972 opened this issue 5 years ago • 3 comments

Hi,

Current Pelemay builds native code by calling make from itself after generating code and Makefile by a macro. If elixir_make will support a feature building after executing a macro, Pelemay can use it.

I'd like to contribute enhancement of elixir_make.

zacky1972 avatar Nov 25 '20 04:11 zacky1972

@zacky1972 if I understand correctly, do you want to call elixir_make programmatically instead of via the mix.exs file? If so, an API that does so would be welcome, we can probably have it in the ElixirMake module, but it cannot call any functions from Mix.

josevalim avatar Nov 25 '20 06:11 josevalim

Exactly. I didn't understand how to achieve such a function when I implemented Pelemay, so I implemented similar functions to elixir_make in Pelemay itself.

zacky1972 avatar Nov 25 '20 06:11 zacky1972

A PR would be more than welcome @zacky1972. Let us know if you need any guidance, otherwise what @josevalim proposed sounds good :)

whatyouhide avatar Nov 25 '20 08:11 whatyouhide