jsdocbuild.js
[gnome.introspection-doc-generator] / jsdocbuild.js
1 /**
2  * JSDOC bootstrap.. - documents javascript (not introspection)
3  *
4  * <script type="text/javascript">
5  */
6
7 // this files nice and simple 
8 BuildDocs = imports.JSDOC.BuildDocs.BuildDocs;
9
10 if (!Seed.argv[2]) {
11     throw {
12         name: "ArgumentError", 
13         message: "Missing configuration file.\n" +
14           "Usage seed jsdocbulid.js /var/www/seed [Gtk] \n"
15     };
16 }
17
18 BuildDocs.build({
19     conf : Seed.argv[2]
20 });
21
22
23