Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ compile_yrl_file(File) ->
{ok, _} = yecc:file(File).

compile_erl_file(File, Opts) ->
case compile:file(File, Opts) of
case compile:file(File, [nowarn_deprecated_catch | Opts]) of
{ok, _Mod} ->
ok;
{ok, _Mod, []} ->
Expand Down
5 changes: 4 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
{project_app_dirs, ["apps/*","lib/*",".","vendor/*"]}.
{project_plugin_dirs, ["plugins/*","vendor_plugins/*"]}.

{erl_opts, [nowarn_deprecated_catch]}.

%% Duplicated from apps/rebar3:
%% - we want people who rely on rebar3 as a dependency to still be able
%% to fetch it with git_subdir and have it work
Expand All @@ -18,7 +20,8 @@
{escript_incl_priv, [{relx, "templates/*"},
{rebar, "templates/*"}]}.

{overrides, [{add, relx, [{erl_opts, [{d, 'RLX_LOG', rebar_log}]}]}]}.
{overrides, [{override, erlware_commons, [{erl_opts, [nowarn_deprecated_catch]}]},
{add, relx, [{erl_opts, [{d, 'RLX_LOG', rebar_log}]}]}]}.

{profiles, [
%% Only works at the top-level
Expand Down
Loading