X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hb=5952f0a864405366d4da4951db2c01f207b82b35;hp=55837908502e1b90d4b16f036ab075a31c9263ba;hpb=6403c158a530c2414244e070ea5665470711c07e;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index 5583790..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.packAll(); - } - + p.pack(); + } }