X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hb=7c9ee91503acb1c99ed32f377aef7d5261a7347f;hp=3b4d32966087d73886a83c4a5a3e183e3c21e72c;hpb=b879cbf33cb37068ad2815003b5744abbeea58ae;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index 3b4d329..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(); }