Skip to content

Commit 72ec902

Browse files
committed
Revert "Add support for new rebar3 output env option (#10018)"
This option will be enabled on Elixir v1.12 instead. This reverts commit fc9f769.
1 parent 2c9fff0 commit 72ec902

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,8 @@ defmodule Mix.Tasks.Deps.Compile do
197197
config_path = Path.join(dep_path, "mix.rebar.config")
198198
lib_path = Path.join(config[:env_path], "lib/*/ebin")
199199

200-
# REBAR_BARE_COMPILER_OUTPUT_DIR is only honored by rebar3 >= 3.14
201-
env = [
202-
{"REBAR_CONFIG", config_path},
203-
{"TERM", "dumb"},
204-
{"REBAR_BARE_COMPILER_OUTPUT_DIR", dep_path}
205-
]
206-
207-
cmd = "#{rebar_cmd(dep)} bare compile --paths #{lib_path}"
200+
env = [{"REBAR_CONFIG", config_path}, {"TERM", "dumb"}]
201+
cmd = "#{rebar_cmd(dep)} bare compile --paths=#{inspect(lib_path)}"
208202

209203
File.mkdir_p!(dep_path)
210204
File.write!(config_path, rebar_config(dep))

0 commit comments

Comments
 (0)