X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=pack.js;h=3a17a4c267e74386ae6068cab4219f34830342e1;hb=5dbd19f978e6420bd1e8736e2c78de0a93bfd9e8;hp=52fb639d6107f82fa32f857b8b0aeccd5f35f161;hpb=2994fedbb9237bc8b059e2233ac8da17ddb0b964;p=gnome.introspection-doc-generator diff --git a/pack.js b/pack.js index 52fb639..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++; @@ -54,7 +60,7 @@ for(var i =0; i < args.length;i++) { continue; } if (args[i] == '-f') { - cfg.srclist = args[i+1]; + cfg.srcfile = args[i+1]; i++; continue; }