Skip to content

Commit

Permalink
Optimize Rebar compilation by skipping plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Jan 5, 2025
1 parent 763d0f1 commit dcc27c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mix/lib/mix/tasks/deps.compile.ex
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ defmodule Mix.Tasks.Deps.Compile do
env = [
# REBAR_BARE_COMPILER_OUTPUT_DIR is only honored by rebar3 >= 3.14
{"REBAR_BARE_COMPILER_OUTPUT_DIR", build_path},
{"REBAR_SKIP_PROJECT_PLUGINS", "true"},
{"REBAR_CONFIG", config_path},
{"REBAR_PROFILE", "prod"},
{"TERM", "dumb"}
Expand Down

0 comments on commit dcc27c2

Please sign in to comment.