Build products are put in the _build directory rather than in
c_src and priv. This avoids confusion when building for different
devices since the build products for each device are in their own
directory.
Use elixir_make's environment variables to find the ERTS include
directory. This is a quicker way of finding it than starting Erlang
and it works with Nerves.
Remove the priv source directory. elixir_make will symlink to
it from _build by default if it exists. That would defeat the goal
of having a priv directory for each device.
Force elixir_makev0.6 in the mix.exs. This ensures that
support for elixir_make's environment variables is available.
This has a few changes to support Nerves:
_build
directory rather than inc_src
andpriv
. This avoids confusion when building for different devices since the build products for each device are in their own directory.elixir_make
's environment variables to find the ERTS include directory. This is a quicker way of finding it than starting Erlang and it works with Nerves.priv
source directory.elixir_make
will symlink to it from_build
by default if it exists. That would defeat the goal of having apriv
directory for each device.elixir_make
v0.6
in themix.exs
. This ensures that support forelixir_make
's environment variables is available.