X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hb=dad53f90789b90b0767d049a5c449b305d64941b;hp=a08c502f82c6aada073489ec04077eef71cdd7e3;hpb=ecca7413ac390dfe87a147c9ec32eebba5c54c9d;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index a08c502..ee3c97d 100644 --- a/JSDOC/PackerRun.vala +++ b/JSDOC/PackerRun.vala @@ -1,14 +1,111 @@ - +/** + the application + -- in theory this code can be used as a library... but this is the standard command line version... +*/ namespace JSDOC { + // --------------- <<<<<<<
{ + print("%s: %s\n", dom, msg); + }); + } + + // now run the Packer... + 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(); + } + } } \ No newline at end of file