JSDOC/PackerRun.vala
[gnome.introspection-doc-generator] / JSDOC / PackerRun.vala
index e141b2b..699c32f 100644 (file)
@@ -14,9 +14,9 @@ namespace JSDOC
                        
                        { "target", 0, 0, OptionArg.STRING, ref opt_target, "Target File to write (eg. roojs.js)", null },
                        { "tmpdir", 0, 0, OptionArg.STRING, ref opt_tmpdir, "Temporary Directory to use", null },
-                       { "file", 0, 0, OptionArg.STRING, ref opt_files ,"add a file to compile", 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 },              
-                       { "output", 0, 0, OptionArg.STRING, ref opt_compile_output, "output binary file path", null },
                        { "debug", 0, 0, OptionArg.NONE, ref opt_debug, "Show debug messages", null },
                        { null }
                };
@@ -24,10 +24,14 @@ namespace JSDOC
                public static string opt_tmpdir;
                
                
-               public static string[] opt_compile_files;
+               public static string[] opt_files;
+               public static string opt_files_from;
+               public static bool opt_debug;
+               
+               
 
        
-               public PackerRun (string[] args)
+               public static int main (string[] args)
                {
                
                        Object(
@@ -53,7 +57,7 @@ namespace JSDOC
                        }
                        
                        // now run the Packer...
-                       
+                       return 0;
                        
                }