From 87930f7c3b8e1e5299f1dc2b0be93963bf2dbd81 Mon Sep 17 00:00:00 2001 From: Fabio Salvini Date: Mon, 3 Jul 2017 11:09:25 +0200 Subject: [PATCH] Changed Makefile --- Makefile | 15 +++++++++++++++ apps/log_monitor/src/gatherer.erl | 4 +++- apps/log_monitor/src/test.erl | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 Makefile 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() ->