Browse Source

Repair edoc functionality on rebar3 itself

pull/2130/head
Fred Hebert 5 years ago
parent
commit
1bbf4db965
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      rebar.config
  2. +2
    -2
      src/r3.erl

+ 2
- 0
rebar.config View File

@ -36,6 +36,8 @@
warnings_as_errors
]}.
{edoc_opts, [preprocess]}.
%% Use OTP 18+ when dialyzing rebar3
{dialyzer, [
{warnings, [unknown]},

+ 2
- 2
src/r3.erl View File

@ -13,11 +13,11 @@ do(Command) -> rebar_agent:do(Command).
-spec do(atom(), atom()) -> ok | {error, term()}.
do(Namespace, Command) -> rebar_agent:do(Namespace, Command).
%% @async_doc alias for `rebar_agent:async_do/1'
%% @doc alias for `rebar_agent:async_do/1'
-spec async_do(atom()) -> ok | {error, term()}.
async_do(Command) -> rebar_agent:async_do(Command).
%% @async_doc alias for `rebar_agent:async_do/2'
%% @doc alias for `rebar_agent:async_do/2'
-spec async_do(atom(), atom()) -> ok | {error, term()}.
async_do(Namespace, Command) -> rebar_agent:async_do(Namespace, Command).

Loading…
Cancel
Save