JSDOC/PackerRun.vala
[gnome.introspection-doc-generator] / JSDOC / PackerRun.vala
index d241224..4a0031a 100644 (file)
@@ -20,6 +20,7 @@ namespace JSDOC
                
                        
                        { "target", 0, 0, OptionArg.STRING, ref opt_target, "Target File to write (eg. roojs.js)", null },
+                       { "debug-target", 0, 0, OptionArg.STRING, ref opt_debug_target, "Target File to write debug code (eg. roojs.js)", null },
                        { "tmpdir", 0, 0, OptionArg.STRING, ref opt_tmpdir, "Temporary Directory to use", null },
                        { "file", 0, 0, OptionArg.STRING_ARRAY, ref opt_files ,"add a file to compile", null },
                        { "files-from", 0, 0, OptionArg.STRING, ref opt_files_from ,"a text file listing files to compile", null },              
@@ -62,9 +63,11 @@ namespace JSDOC
                                GLib.Process.exit(Posix.EXIT_FAILURE);
                                 
                        }
+                       // what's required...
                        
-                       // now run the Packer...
                        
+                       // now run the Packer...
+                       var p = new Packer(opt_target, opt_debugTarget);
                        
                }