*
* -m module name used with autoBuild to force a module name.
- * -a autoBuild - puts target in INPUTDIR/compiled/MODULE-TIMESTAMP.js and enabled translastion*
+ * -a autoBuild - puts target in INPUTDIR/compiled/MODULE-TIMESTAMP.js and enables translastion*
* compresses files listed as arguments and outputs result
*/
-File = imports.File.File;
-Packer = imports.JSDOC.Packer.Packer;
+const File = imports.File.File;
+const Packer = imports.JSDOC.Packer.Packer;
-var args = Array.prototype.slice.call(Seed.argv);
+var args = Array.prototype.slice.call(typeof(Seed) != 'undefined' ? Seed.argv : ARGV);
args.shift(); //seed
args.shift(); // pack.js
var cfg = {
}
cfg.files.push(args[i]);
}
+print(JSON.stringify(args,null,4));
var pack;
try {
pack = new Packer(cfg)