I have compiled a Window 10 release of my iex app, and it works using start_iex.
I would like to configure the release to run the default task that I have defined in mix (it works using iex -S mix). Is it possible?
This also works in the release build path:
_build\prod\rel[appName]\bin[appName] eval [function]
The basic CMD works:
[deploy_path][appName].[appName]_release\bin[appName.bat eval ModuleName.function
But it runs without the --werl switch, which I would like.
I ended up writing a second .bat that calls the .bat file that is generated by the release.
That way, I can do things before the initialization of the elixir release and handle the output as I wish.