[erlang-questions] edoc: easy question

Richard Carlsson richardc@REDACTED
Wed Feb 14 13:02:15 CET 2007


Robert Baruch wrote:
> Not really having any luck with application, either
> 
> --Rob
> 
> ekmac:~ ek$ erl -noshell -run edoc_run application '[""]' '[{dir, 
> "doc"}, {source_path, ["src"]}]'

The application/2 function takes an atom (the app name) as its first
argument. It will find the directory automatically if it is in the
normal search path, i.e., for all app directories under lib. If not,
use application/3, like this: application(appname, "dir", [options...])

     /Richard




More information about the erlang-questions mailing list