Skip to content

Commit 47563c1

Browse files
authored
build_embedded is no longer relevant
1 parent 3d303c6 commit 47563c1

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

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

-19
Original file line numberDiff line numberDiff line change
@@ -103,25 +103,6 @@ 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.
112-
113-
However, note that Mix projects supports the `:build_embedded`
114-
configuration, which controls if assets in the `_build` directory
115-
are symlinked (when `false`, the default) or copied (`true`).
116-
In order to support both options for `:build_embedded`, it is
117-
important to follow the given guidelines:
118-
119-
* The "priv" directory must not exist in the source code
120-
* The Makefile should copy any artifact to `$MIX_APP_PATH/priv`
121-
or, even better, to `$MIX_APP_PATH/priv/$MIX_TARGET`
122-
* If there are static assets, the Makefile should copy them over
123-
from a directory at the project root (not named "priv")
124-
125106
"""
126107

127108
use Mix.Task

0 commit comments

Comments
 (0)