Elixir helpers for intellj-elixir, the Elixir plugin for JetBrains IDEs.
To build the release for production, set both the MIX_ENV and
distillery environment to prod
MIX_ENV=prod mix release --env=prod
Burrito allows us to have a self-contained Elixir app, which is useful for both CI, and allowing contributors to not have to run a specific version of Elixir in order to build and test their pull requests.
See Burrito for more information
To build:
MIX_ENV=prod mix release intellij_elixir_burritoTo target Linux, MacOS, and Windows, prepend the target with the BURRITO_TARGET.
Targets:
BURRITO_TARGET=linux_amd64BURRITO_TARGET=linux_arm64BURRITO_TARGET=darwin_amd64(For Intel Macs)BURRITO_TARGET=darwin_arm64(For Apple Silicon, e.g M1/M2/M3 processors)BURRITO_TARGET=windows_amd64
For example, to target Linux, and build for x86-64:
BURRITO_TARGET=linux_amd64 MIX_ENV=prod mix release intellij_elixir_burrito --overwrite --forceBy default, BURRITO_TARGET is set to the platform you are building on.
intellij-elixir's
org.elixir.parsing_definition tests use IntellijElixir.Quoter GenServer
to verify that intellij-elixir's parsed and quoted form match's Elixir's native
quoted form from Code.string_to_quoted. IntellijElixir must be running
on node name intellij_elixir for intellij-elixir's tests to find it, so start
IntellijElixir release like so
_build/prod/rel/intellij_elixir/bin/intellij_elixir start