sportsbitenews / b2g-installer

Tools to easily flash b2g on your android phone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Tools to easily flash b2g on your android phone


Languages

Language:JavaScript 55.4%Language:HTML 39.6%Language:CSS 2.7%Language:Makefile 1.2%Language:Python 0.6%Language:Shell 0.6%