diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..94ced5d --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +REBAR=rebar3 + +all: release + +release: + ${REBAR} release + +compile: + ${REBAR} compile + +doc: + ${REBAR} edoc + +clean: + ${REBAR} clean diff --git a/apps/log_monitor/src/gatherer.erl b/apps/log_monitor/src/gatherer.erl index 2134b67..dba78ec 100644 --- a/apps/log_monitor/src/gatherer.erl +++ b/apps/log_monitor/src/gatherer.erl @@ -36,7 +36,9 @@ %% initialize. To ensure a synchronized start-up procedure, this %% function does not return until Module:init/1 has returned. %% -%% @spec start_link() -> {ok, Pid} | ignore | {error, Error} +%% @spec start_link(File, ErrorRegex) -> {ok, Pid} | +%% ignore | +%% {error, Error} %% @end %%-------------------------------------------------------------------- start_link(File, ErrorRegex) -> diff --git a/apps/log_monitor/src/test.erl b/apps/log_monitor/src/test.erl index 7d673e6..94ffa30 100644 --- a/apps/log_monitor/src/test.erl +++ b/apps/log_monitor/src/test.erl @@ -20,7 +20,7 @@ %% @doc %% Send an email to test the configuration. %% -%% @spec email -> binary() | {error, Type, Message} +%% @spec email() -> binary() | {error, Type, Message} %% @end %%-------------------------------------------------------------------- email() ->