mozilla/addon-sdk — pull request #320 by warner (2012-01-05 01:37:03+00:00)
Title: Bug 715340: let package.json control XPIs being packed/unpacked

This adds code to copy the "unpack" property of the addon's package.json into the XPI's `install.rdf`, allowing addon authors to control whether the XPIs are unpacked or remain packed (and control it through their source code, rather than a command-line flag). There are tests, and the default remains packed.

@ochameau: things to consider:

* I picked "unpack" to match what goes into `install.rdf`, even though "pack" or "packed" or "packedXPI" might be easier to read.. thoughts?

@wbamberg: I'm not sure how/where to document this, feel free to throw a patch my way or just point me to the right place to add a sentence about it.