//<script type="text/javascript">
/**
* packer command line
+ *
+ * -o Output
+ * -t Translate json file.
+ * -w Cache / working dir.
+ * -c force cleanup.
+ * -C no cleanup
*
* compresses files listed as arguments and outputs result
*/
i++;
continue;
}
+ if (args[i] == '-t') {
+ cfg.translateJSON = args[i+1];
+ i++;
+ continue;
+ }
+ if (args[i] == '-w') {
+ cfg.tmpDir = args[i+1];
+ i++;
+ continue;
+ }
+ if (args[i] == '-c') {
+ cfg.cleanup = true;
+ continue;
+ }
+ if (args[i] == '-c') {
+ cfg.cleanup = false;
+ continue;
+ }
cfg.files.push(args[i]);
}
var pack;