mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Fix EDoc syntax errors
This commit is contained in:
parent
513ae33c5c
commit
6785c16f02
1 changed files with 3 additions and 3 deletions
|
@ -98,7 +98,7 @@ dialyze(Config, File) ->
|
|||
ok.
|
||||
|
||||
%% @doc Build the PLT.
|
||||
%% @spec build-plt(Config::#config{}, File::string()) -> ok
|
||||
%% @spec 'build-plt'(Config::#config{}, File::string()) -> ok
|
||||
-spec 'build-plt'(Config::#config{}, File::string()) -> ok.
|
||||
'build-plt'(Config, File) ->
|
||||
Plt = new_plt_path(Config, File),
|
||||
|
@ -118,7 +118,7 @@ dialyze(Config, File) ->
|
|||
ok.
|
||||
|
||||
%% @doc Check whether the PLT is up-to-date (rebuilding it if not).
|
||||
%% @spec check-plt(Config::#config{}, File::string()) -> ok
|
||||
%% @spec 'check-plt'(Config::#config{}, File::string()) -> ok
|
||||
-spec 'check-plt'(Config::#config{}, File::string()) -> ok.
|
||||
'check-plt'(Config, File) ->
|
||||
Plt = existing_plt_path(Config, File),
|
||||
|
@ -199,7 +199,7 @@ existing_plt_path(Config, File) ->
|
|||
|
||||
%% @doc If the warnings option is present in rebar.config return its value,
|
||||
%% otherwise return [].
|
||||
%% @spec warnings(Config::#config{}) -> list().
|
||||
%% @spec warnings(Config::#config{}) -> list()
|
||||
-spec warnings(Config::#config{}) -> list().
|
||||
warnings(Config) ->
|
||||
DialyzerOpts = rebar_config:get(Config, dialyzer_opts, []),
|
||||
|
|
Loading…
Reference in a new issue