X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=pack.js;h=3a17a4c267e74386ae6068cab4219f34830342e1;hb=f7a2eb6b888bf9d9a76ad9b07a2daee2f75f9faf;hp=4d7f6e5eaaa66852c05dcb9ea65850b6b9a0d12c;hpb=b73cdf0c8b85ed1e928f01118bd6629f5c3268cb;p=gnome.introspection-doc-generator diff --git a/pack.js b/pack.js index 4d7f6e5..3a17a4c 100755 --- a/pack.js +++ b/pack.js @@ -4,6 +4,7 @@ * packer command line * * -o Output + * -O Output debug file here. * -t Translate json file. * -w Cache / working dir. * -f File to read with a list of source paths / or class names. @@ -34,6 +35,11 @@ for(var i =0; i < args.length;i++) { i++; continue; } + if (args[i] == '-O') { + cfg.debugTarget = args[i+1]; + i++; + continue; + } if (args[i] == '-t') { cfg.translateJSON = args[i+1]; i++;