Gaia/Hacking: Difference between revisions

Jump to navigation Jump to search
Line 43: Line 43:
You can download a nightly build of B2G Desktop from [http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/] for Linux, OS X and Windows.
You can download a nightly build of B2G Desktop from [http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/] for Linux, OS X and Windows.


You still need to separately clone and "build" Gaia, in the same way as when using Firefox Nightly:
Nightly builds include gaia by default, and they should just run out of the box.
 
If you want to modify gaia, you still need to separately clone and "build" Gaia, in the same way as when using Firefox Nightly:


  $ git clone git://github.com/mozilla-b2g/gaia.git gaia
  $ git clone git://github.com/mozilla-b2g/gaia.git gaia
Line 49: Line 51:
  $ DEBUG=1 make
  $ DEBUG=1 make


Then you just run with B2G Desktop instead of Firefox:  
Then you just run with B2G Desktop instead of Firefox (note b2g-bin, not b2g):  


  $ /path/to/b2g -profile /path/to/gaia/profile
  $ /path/to/b2g-bin -profile /path/to/gaia/profile


(or "/path/to/b2g/B2G.app/Contents/MacOS/b2g -profile /path/to/gaia/profile" on OS X)
(or "/path/to/b2g/B2G.app/Contents/MacOS/b2g-bin -profile /path/to/gaia/profile" on OS X)


To update gaia you run the following command inside the Gaia directory:
To update gaia you run the following command inside the Gaia directory:
canmove, Confirmed users
1,220

edits

Navigation menu