Skip to content

Commit 1de463f

Browse files
committed
Remove remaining references to build_embedded
1 parent 944ac0f commit 1de463f

File tree

5 files changed

+2
-9
lines changed

5 files changed

+2
-9
lines changed

lib/mix/lib/mix.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,6 @@ defmodule Mix do
10761076
defp install_project_config(dynamic_config) do
10771077
[
10781078
version: "0.1.0",
1079-
build_embedded: false,
10801079
build_per_environment: true,
10811080
build_path: "_build",
10821081
lockfile: "mix.lock",

lib/mix/lib/mix/project.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,6 @@ defmodule Mix.Project do
983983
defp default_config do
984984
[
985985
aliases: [],
986-
build_embedded: false,
987986
build_per_environment: true,
988987
build_scm: Mix.SCM.Path,
989988
config_path: "config/config.exs",

lib/mix/lib/mix/tasks/compile.ex

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ defmodule Mix.Tasks.Compile do
1616
1717
## Configuration
1818
19-
* `:build_embedded` - this option was used to copy all code and
20-
priv content to the `_build` directory. However, this option no
21-
longer has an effect as Elixir will now copy those at release time
22-
2319
* `:compilers` - compilers to run, defaults to `Mix.compilers/0`,
2420
which are `[:erlang, :elixir, :app]`.
2521

lib/mix/test/mix/project_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ defmodule Mix.ProjectTest do
120120

121121
test "builds the project structure without symlinks" do
122122
in_fixture("archive", fn ->
123-
config = [deps_app_path: Path.expand("_build/archive"), build_embedded: true]
123+
config = [deps_app_path: Path.expand("_build/archive")]
124124
assert Mix.Project.build_structure(config) == :ok
125125
assert File.dir?("_build/archive/ebin")
126126
assert {:error, _} = :file.read_link("_build/archive/ebin")

lib/mix/test/test_helper.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,7 @@ if not File.dir?(target) do
416416
File.mkdir_p!(Path.join(target, "ebin"))
417417
File.mkdir_p!(Path.join(target, "src"))
418418

419-
# This is used to test that the built-in ebin is ignored
420-
# when build_embedded is true.
419+
# This is used to test that the built-in ebin is ignored.
421420
File.write!(Path.join(target, "ebin/.unused"), """
422421
""")
423422

0 commit comments

Comments
 (0)