File tree Expand file tree Collapse file tree 5 files changed +2
-9
lines changed Expand file tree Collapse file tree 5 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -1076,7 +1076,6 @@ defmodule Mix do
1076
1076
defp install_project_config ( dynamic_config ) do
1077
1077
[
1078
1078
version: "0.1.0" ,
1079
- build_embedded: false ,
1080
1079
build_per_environment: true ,
1081
1080
build_path: "_build" ,
1082
1081
lockfile: "mix.lock" ,
Original file line number Diff line number Diff line change @@ -983,7 +983,6 @@ defmodule Mix.Project do
983
983
defp default_config do
984
984
[
985
985
aliases: [ ] ,
986
- build_embedded: false ,
987
986
build_per_environment: true ,
988
987
build_scm: Mix.SCM.Path ,
989
988
config_path: "config/config.exs" ,
Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ defmodule Mix.Tasks.Compile do
16
16
17
17
## Configuration
18
18
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
-
23
19
* `:compilers` - compilers to run, defaults to `Mix.compilers/0`,
24
20
which are `[:erlang, :elixir, :app]`.
25
21
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ defmodule Mix.ProjectTest do
120
120
121
121
test "builds the project structure without symlinks" do
122
122
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" ) ]
124
124
assert Mix.Project . build_structure ( config ) == :ok
125
125
assert File . dir? ( "_build/archive/ebin" )
126
126
assert { :error , _ } = :file . read_link ( "_build/archive/ebin" )
Original file line number Diff line number Diff line change @@ -416,8 +416,7 @@ if not File.dir?(target) do
416
416
File . mkdir_p! ( Path . join ( target , "ebin" ) )
417
417
File . mkdir_p! ( Path . join ( target , "src" ) )
418
418
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.
421
420
File . write! ( Path . join ( target , "ebin/.unused" ) , """
422
421
""" )
423
422
You can’t perform that action at this time.
0 commit comments