erl -make returns ok status after compilation error

View: New views
1 Messages — Rating Filter:   Alert me  

erl -make returns ok status after compilation error

by Bugzilla from zerthurd@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

Make in erlang dose not handles errors in compilation.

If some files in application broken, compilation with erlc returns 1,
while erl -make returns 0 what indicates that compilation i
successful.
So, when we uses Makefile, where some targets should been compiled
with erl -make, and when one target compilation is broken, make cannot
catch this.

Thank you

--
Maxim Treskin

________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org