X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hb=dad53f90789b90b0767d049a5c449b305d64941b;hp=9ed7eb26974870a4cfbcf2d7f4a0794d5892c8cc;hpb=05e1b9b28202a4d3f5217a71ba61a3a33a72c9ac;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index 9ed7eb2..ee3c97d 100644 --- a/JSDOC/PackerRun.vala +++ b/JSDOC/PackerRun.vala @@ -7,38 +7,66 @@ namespace JSDOC { // --------------- <<<<<<<
{ + print("%s: %s\n", dom, msg); + }); + } // now run the Packer... var p = new Packer(opt_target, opt_debug_target); - if (opt_files.length > 0) { - p.loadFiles(opt_files); + p.keepWhite = opt_keep_whitespace; + + + if (opt_files != null) { + + foreach (string f in opt_files) { + GLib.debug("Adding File %s", f); + p.loadFile(f); + } + } else { + GLib.debug("No files added"); } p.pack(); - } - + } }