Skip to content
sdwilsh edited this page Apr 19, 2011 · 8 revisions

Prerequisites

You'll need the traditional prerequisites to build Mozilla:

Additionally, you'll need git.

Getting the Source

This is github, so you probably already know how to do this, but if you don't, that's OK; we're happy to help! Just run this command, and you'll get the latest and greatest source:

git clone git://github.com/zpao/v8monkey.git

Building

For developing and debugging, it's best to have a separate object directory where the building happens. Once you are in your source directory, run these commands:

cd js/src
autoconf-2.13

mkdir obj-debug
cd obj-debug
../configure --enable-debug --disable-optimize
make

Running Tests

We don't have too many tests, so you should always run them after you make a change. It's really easy to do! Assuming you are are in obj-debug, just run:

make -C v8api/test check

Pushing Your Changes

Chances are, you don't have push access to this repository. Go ahead and commit your changes to your own repository, and then submit a pull request. We strive to pull your changes in, or provide feedback within 24 hours!

If you have access to this repository, please make sure that tests pass locally before pushing. After you've pushed, check to make sure that other platforms build OK too before leaving. It generally takes about 20 minutes to get results from all platforms.

Clone this wiki locally