A contributor (kyr0) and I have been working on a python module to add more mach commands to the B2G repo. Some features include bootstrapping your build environment (similar to desktop Firefox) and wrapping most shell scripts so you can pass in --arguments instead of needing to remember environment variables.

To get started, install pip:

$ wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py -O - | python

Install b2g-commands:

$ pip install b2g-commands

To play around with it, cd to your B2G repo and run:

$ git pull                 # make sure repo is up to date
$ ./mach help              # see all available commands
$ ./mach help <command>    # see additional info about a command

For more details and full feature list, see my blog post:
http://ahal.ca/blog/2014/b2g-commands/

Cheers,
Andrew
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to