X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hb=cc935efc3f7afc2b006802fc8e53ce6f2f49996c;hp=4a0031a025b37b9e1a7af1da44544a01bb8189bc;hpb=b84c42fe7a182678ae22dd3c75035d203198a37b;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index 4a0031a..ee3c97d 100644 --- a/JSDOC/PackerRun.vala +++ b/JSDOC/PackerRun.vala @@ -7,35 +7,66 @@ namespace JSDOC { // --------------- <<<<<<<
{ + print("%s: %s\n", dom, msg); + }); + } // now run the Packer... - var p = new Packer(opt_target, opt_debugTarget); + 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(); + } }