edoc feature request
Wed Feb 1 22:40:07 CET 2006
Serge Aleynikov wrote:
> I'd like to request a new feature in edoc. When I run edoc in
> non-interactive mode by means of a makefile and it detects a
> documentation syntax problem, it prints out an error, and exits the
> application (and the beam), yet the exit code of the beam process
> doesn't indicate a failure. Therefore make doesn't stop on such an error.
> It would be nice to have an option accepted by the
> edoc_run:applicaiton/1 that upon failure would terminate the emulator
> using erlang:halt(Code).
> It looks like this should be something simple to implement, yet if
> desired I can submit a patch.
It seems simple enough - I'll have a look. Thanks for the heads-up.
Do you really need to be able to give the exit code as an option,
or would some decent fixed non-zero value be good enough?
More information about the erlang-questions