Skip to content

Commit 5259a94

Browse files
authored
Bring artifacts notes back but without build_embedded
1 parent 411b2c4 commit 5259a94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: lib/mix/tasks/compile.elixir_make.ex

+8
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ defmodule Mix.Tasks.Compile.ElixirMake do
103103
* `ERL_INTERFACE_INCLUDE_DIR`
104104
105105
These may also be overwritten with the `make_env` option.
106+
107+
## Compilation artifacts and working with priv directories
108+
109+
Generally speaking, compilation artifacts are written to the `priv`
110+
directory, as that the only directory, besides `ebin`, which are
111+
available to Erlang/OTP applications. Therefore, we recommend the
112+
Makefile top copy any artifact to `$MIX_APP_PATH/priv` or, even
113+
better, to `$MIX_APP_PATH/priv/$MIX_TARGET`.
106114
"""
107115

108116
use Mix.Task

0 commit comments

Comments
 (0)