Changed Makefile

This commit is contained in:
Fabio Salvini 2017-07-03 11:09:25 +02:00
parent e54539a103
commit 87930f7c3b
3 changed files with 19 additions and 2 deletions

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
REBAR=rebar3
all: release
release:
${REBAR} release
compile:
${REBAR} compile
doc:
${REBAR} edoc
clean:
${REBAR} clean

View File

@ -36,7 +36,9 @@
%% initialize. To ensure a synchronized start-up procedure, this %% initialize. To ensure a synchronized start-up procedure, this
%% function does not return until Module:init/1 has returned. %% 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 %% @end
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
start_link(File, ErrorRegex) -> start_link(File, ErrorRegex) ->

View File

@ -20,7 +20,7 @@
%% @doc %% @doc
%% Send an email to test the configuration. %% Send an email to test the configuration.
%% %%
%% @spec email -> binary() | {error, Type, Message} %% @spec email() -> binary() | {error, Type, Message}
%% @end %% @end
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
email() -> email() ->