Open marcelog opened 6 years ago
Can you explain more about this issue?
Sure!
Before doing make install
:
$ mix compile
Compiling 6 files (.ex)
Generated eximap app
$ more ./_build/dev/lib/eximap/ebin/eximap.app
{application,eximap,
[{applications,[kernel,stdlib,elixir,logger]},
{description,"eximap"},
{modules,['Elixir.Eximap','Elixir.Eximap.Application',
'Elixir.Eximap.Imap.Client',
'Elixir.Eximap.Imap.Request',
'Elixir.Eximap.Imap.Response','Elixir.Eximap.Socket']},
{registered,[]},
{vsn,"0.1.0"},
{extra_applications,[logger]},
{mod,{'Elixir.Eximap.Application',[]}}]}.
No issues there, the .app file is compiled perfectly. Then, after running make install
:
$ mix compile
Compiling 6 files (.ex)
Generated eximap app
$ more ./_build/dev/lib/eximap/ebin/eximap.app
ESC[1;34m{ESC[0mESC[0;32mapplicationESC[0mESC[1;36m,ESC[0mESC[0;32meximapESC[0mESC[1;36m,ESC[0m
ESC[0;33m[ESC[0mESC[1;34m{ESC[0mESC[0;32mapplicationsESC[0mESC[1;36m,ESC[0mESC[0;33m[ESC[0mESC[0;32mkernelESC[0mESC[1;36m,ESC[0m
ESC[0;32mstdlibESC[0mESC[1;36m,ESC[0mESC[0;32melixirESC[0mESC[1;36m,ESC[0mESC[0;32mloggerESC[0mESC[0;33m]ESC[0mESC[1;34m}ESC[0mESC[1;36m,ESC[0m
Note how the .app files is created with the ansi escape sequences inside.
I don't have an idea about elixir. Have you tested in Erlang?
Generated corrupted .app files but really pretty ones :)