JSDOC/PackerRun.vala
authorAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 10:02:58 +0000 (18:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 10:02:58 +0000 (18:02 +0800)
JSDOC/PackerRun.vala

index 2901404..7cec513 100644 (file)
@@ -78,8 +78,10 @@ namespace JSDOC
                        // now run the Packer...
                        var p = new Packer(opt_target, opt_debug_target);
                        if (opt_files != null) {
-                               GLib.debug("Adding Files %d", opt_files.length);
-                               p.loadFiles(opt_files);
+                               for (string f in opt_files) {
+                                       GLib.debug("Adding File %s", f);
+                                       p.loadFile(f);
+                               }
                        } else {
                                GLib.debug("No files added");
                        }