edoc feature request

Serge Aleynikov serge@REDACTED
Wed Feb 1 22:46:29 CET 2006


I meant to have an option to instruct edoc to exit the emulator on error 
(rather than to have the option to provide an exit code).  As far as the 
exit code value is concerned, a non-zero value would suffice.

Richard Carlsson wrote:
> 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?
> 
> 	/Richard
> 

-- 
Serge Aleynikov
R&D Telecom, IDT Corp.
Tel: (973) 438-3436
Fax: (973) 438-1464
serge@REDACTED



More information about the erlang-questions mailing list