X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hp=970eb84b7f5a16243aa8fb7ba2fe290d04cdf5e9;hb=954be6f9897a8e3866089bb5f67fbe5409b608b9;hpb=157e67f3ba7b97cdfea7dcbb28b620f3979d21ef diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index 970eb84..ee3c97d 100644 --- a/JSDOC/PackerRun.vala +++ b/JSDOC/PackerRun.vala @@ -7,36 +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(); + } }