MemChaser is a Firefox extension which keeps track of the garbage collector activity and memory usage.
Before you can test or build the extension you will have to init the Add-ons SDK submodule.
git submodule update --init
To run tests against the extension:
ant test
To manually test the extension:
ant run
To specify the Firefox binary include -Dbinary=path/to/firefox
on the command line.
To build simply run ant
and the default build script/target will be invoked:
ant
You can override the build number used in the filename:
ant -Dbuild.number=1
To build for release (no build number in filename):
ant release
You can also use the Add-ons SDK directly using cfx
:
cd addon-sdk
source bin/activate
cd ../extension
cfx docs