JSDOC/PackerRun.vala
[gnome.introspection-doc-generator] / JSDOC / PackerRun.vala
index b89cad0..699c32f 100644 (file)
@@ -14,18 +14,24 @@ 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_compile_files ,"add a file to compile", null },
-                       { "files-from", 0, 0, OptionArg.STRING, ref opt_compile_files ,"a text file listing files to compile", null },           
-                       { "output", 0, 0, OptionArg.STRING, ref opt_compile_output, "output binary file path", 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 },              
                        { "debug", 0, 0, OptionArg.NONE, ref opt_debug, "Show debug messages", null },
                        { null }
                };
-               public static string opt_compile_project;
-               public static string opt_compile_target;
-               public static string[] opt_compile_files;
+               public static string opt_target;
+               public static string opt_tmpdir;
+               
+               
+               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(
@@ -51,7 +57,7 @@ namespace JSDOC
                        }
                        
                        // now run the Packer...
-                       
+                       return 0;
                        
                }