X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hb=5952f0a864405366d4da4951db2c01f207b82b35;hp=699c32ff2d04ea163a0a5c58d9d49e1a1d58dc40;hpb=41b1ea5a68636a0ffd6e305d3a628cec34531ac3;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index 699c32f..ee3c97d 100644 --- a/JSDOC/PackerRun.vala +++ b/JSDOC/PackerRun.vala @@ -6,61 +6,105 @@ namespace JSDOC { + // --------------- <<<<<<<
{ + print("%s: %s\n", dom, msg); + }); } // now run the Packer... - return 0; + var p = new Packer(opt_target, opt_debug_target); + 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(); + } }