forked from zpao/v8monkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Hacking
sdwilsh edited this page Mar 25, 2011
·
8 revisions
You'll need the traditional prerequisites to build Mozilla:
Additionally, you'll need git.
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
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
Regrettably, Windows users will have an additional hoop to jump through.
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