📦 intellij-elixir/ KronicDeth
Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Установка и запуск
Run/Debug Configurations
Distillery Release CLI
Distillery's mix release produces a CLI for running the release.
-
Build the release:
mix release==> Release successfully built! You can run it in one of the following ways: Interactive: _build/ENV/rel/NAME/bin/NAME console Foreground: _build/ENV/rel/NAME/bin/NAME foreground Daemon: _build/ENV/rel/NAME/bin/NAME start -
Run > Edit Configurations...
-
Click +
-
Select "Distillery Release CLI"
-
Fill in the "Release CLI Path" with the full path to the
_build/ENV/rel/NAME/bin/NAMEpath produed bymix releaseabove. -
Fill in the "Release CLI arguments".
consoleruns a shell with the release loaded similar toiex -S mix.foregroundto runs the release without a shell, likemixormix run. The available commands are controlled by your release configrel/config.exsthat Distillery uses.
-
(Optionally) fill in "
erlarguments" with arguments toerlbefore it runselixir. This is the same as theERL_OPTSenvironment variable supported by Distillery. -
(Optionally) fill in "
elixir -extraarguments" with arguments to pass toelixirbefore it run the release. This is the same as theEXTRA_OPTSenvironment variable supported by Distillery. -
(Optionally) change the Code Loading Mode This is the same as the
CODE_LOADING_MODEenvironment variable supported by Distillery.- Use Default - use whatever is configured in
rel/config.exs. Don't setCODE_LOADING_MODEenvironment variable. embedded- load all code immediately on boot. SetCODE_LOADING_MODE=embedded.interactive- load code on-demand as it is
- Use Default - use whatever is configured in
…
Из README репозитория · полный README на GitHub