|
@@ -106,8 +106,13 @@ compile_one_erl(File, Path2, Emakefile_Settings) ->
|
|
|
io:format("~nError!~n", []);
|
|
|
{error, [], Warning} ->
|
|
|
io:format("~nWarning: ~p~n", [Warning]);
|
|
|
+
|
|
|
+ {error, [{File_Path, [{1,erl_lint,undefined_module}]}], []} ->
|
|
|
+ ok; % do not show message "undefined_module" when all ok
|
|
|
+
|
|
|
{error, Error, Warning} ->
|
|
|
io:format("~nErrors and warnings:~n ~p~n ~p~n", [Error, Warning]);
|
|
|
+
|
|
|
_ ->
|
|
|
io:format("ok~n", []),
|
|
|
Module = erlang:list_to_atom(lists:flatten(string:replace(File, ".erl", ""))),
|