Thunderbird:Build: Difference between revisions

moving to hg
(moving to hg)
Line 9: Line 9:
1. Get your build environment [http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites up and running].
1. Get your build environment [http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites up and running].


2. Check out your code on [http://developer.mozilla.org/en/docs/Mozilla_Source_Code_(CVS) CVS]. Be sure to decide if you want a trunk build or a branch build.
2. Check out your code from [http://developer.mozilla.org/en/Comm-central_source_code_(Mercurial) comm-central].  


The following command works for the mozconfig shown below: (time, a Unix app, will tell you how long the compile took.)
Below is a sample .mozconfig for a dual-core MacBook Pro:
 
$ time make -f client.mk checkout MOZ_CO_PROJECT=mail,calendar
 
A sample .mozconfig for a dual-core MacBook Pro, which checks out Thunderbird (with Lightning enabled) and Sunbird code at the same time:


  # Sample .mozconfig
  # Sample .mozconfig
Line 38: Line 34:


3. Compile the build: (feel free to replace "mail" with "calendar")
3. Compile the build: (feel free to replace "mail" with "calendar")
  time make -f client.mk build MOZ_CURRENT_PROJECT=mail
  $ make -f client.mk build MOZ_CURRENT_PROJECT=mail


4. To run the builds in Terminal in the following recommended way, go through the following commands:
4. To run the builds in Terminal in the following recommended way, go through the following commands:
137

edits