X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=f14999727d6b7f26d7bb136d8ba2a19b7b1a7caf;hb=55f8d00207a54cf3c1939cae097c2691cb8cf93c;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=88450225cdaf1a576dcfe34a0791d15e83521454;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index e69de29..f149997 100644 --- a/JSDOC/PackerRun.vala +++ b/JSDOC/PackerRun.vala @@ -0,0 +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.whitespace = !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