b2g-installer
b2g-installer copied to clipboard
DEPRECATED - Tools to easily flash b2g on your android phone
Check online doc at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_Installer_Addon
Quick cheat:
- get a clone from mozilla-central
- create a browser/extensions/b2g-installer/ inside and copy everything from this repo to browser/extensions/b2g-installer/ OR
- symlink browser/extensions/b2g-installer/ to this repo
- change browser/extensions/moz.build and add "b2g-installer" in DIRS
- ./mach build && ./mach build package in gecko to build
- addon is built in objdir/dist/xpi-stage/b2g-installer/
- running tests with:
- ./mach mochitest browser/extensions/b2g-installer/
- ./mach xpcshell-test browser/extensions/b2g-installer/
- never forget to generate install.rdf and/or update.rdf
Releasing updates:
- increment ADDON_VERSION
- produce all platform XPIs, name them as "b2g-installer-@@ADDON_VERSION@@-@@PLATFORM@@.xpi"
- copy in the repo
- verify index.html.tmpl
- XPIS="..." make dorelease
- ... should generate and update verything
- ... should commit new version
- ... should tag new version
- verify and |git push| to github