See https://github.com/mozilla-b2g/gaia-email-libs-and-more/blob/master/Makefile#L105 for an example of how this could be used in theory. The assumption that this is better is mostly for travis. On travis we download both xpchsell AND b2g dekstop (200mb+) downloading just b2g and using it to build the profile would likely be much faster
James, we have a big project to simplify and unify various environment on desktop. In this quest bug 943892 should address your issue in a slightly different way. xpcshell is the best option for command line tools. Using xulrunner app has many caveats as command line app that you don't want to address. I'm not marking as duplicate as you have blockers.
Depends on: 943892
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.