X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=954be6f9897a8e3866089bb5f67fbe5409b608b9;hpb=88450225cdaf1a576dcfe34a0791d15e83521454 diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index e69de29..ee3c97d 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.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