Firefox OS workshop

Development

workflow

Paris, November 2013

Building

Building - the goals

$ make install-gaia                //Push all the apps for Gaia to the device
$ APP='app name' make install-gaia //Push only a specific app
$ make reset-gaia                  //As 'install-gaia' but starts by purging 
                                     and then sets up permission defaults
$ make production                  //Emulate user builds

Building - environment variables

Usage:

$ VARIABLE=VALUE make install-gaia

Variables:

GAIA_OPTIMIZE=1 //Triggers an optimization pass on the JavaScript files
PRODUCTION=1    //Alias for make production
DEBUG=1         //Generate a debug profile (apps are not packaged, you can
                  refresh app in desktop FX)

Building - shared files

Development

workflow

end of the part

<< back to index

@michalbe @rik24d