Method: JsDoc#run

Defined in:
lib/jsdoc.rb

#run(output_dir, *rest) ⇒ Object



14
15
16
17
18
19
20
21
22
# File 'lib/jsdoc.rb', line 14

def run(output_dir, *rest)
  args = %W(-Djsdoc.dir=#{@jsdoc_dir}
            -Djsdoc.template.dir=#{@jsdoc_template_dir}
            -jar #{@jsdoc_dir}#{S}jsrun.jar
            #{@jsdoc_dir}#{S}app#{S}run.js
            -t=#{@jsdoc_template_dir}
            -d=#{output_dir}) + rest
  system(JAVA_EXECUTABLE, *args)
end