| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Adblock Plus for Firefox | |
| 2 ======================== | |
| 3 | |
| 4 Buildling | |
| 5 --------- | |
| 6 | |
| 7 ### Requirements | |
| 8 | |
| 9 - [Python 2.x](https://www.python.org) | |
| 10 - [The Jinja2 module](http://jinja.pocoo.org/docs) | |
| 11 | |
| 12 ### Building the extension | |
| 13 | |
| 14 Run the following in the project directory: | |
| 15 | |
| 16 ./build.py build | |
| 17 | |
| 18 This will create a build with a name in the form _adblockplus-1.2.3.4+.nnnn.xpi_ . This file will contain the source code currently in the repository and all ava ilable locales. | |
|
Felix Dahlke
2014/07/18 11:55:23
Decided against letting Emacs hard wrap here. I ge
Wladimir Palant
2014/07/18 12:58:10
Don't know, not really a big deal IMHO. The inform
| |
| 19 | |
| 20 ### Installing the extension automatically | |
| 21 | |
| 22 To simplify the process of testing your changes you can install [Extension Auto- Installer](https://addons.mozilla.org/addon/autoinstaller). Assuming that Extens ion Auto-Installer is configured to use port 8888 (the default value), you can p ush your changes to this browser by running: | |
| 23 | |
| 24 ./build.py autoinstall 8888 | |
| 25 | |
| 26 The browser will be restarted automatically if necessary. | |
|
Wladimir Palant
2014/07/18 12:58:10
Browser restart hasn't been necessary in a while n
| |
| 27 | |
| 28 Running the unit tests | |
| 29 ---------------------- | |
| 30 | |
| 31 To verify your changes you can use the existing [unit test suite](https://hg.adb lockplus.org/adblockplustests). The unit tests are a separate extension that is installed in addition to Adblock Plus. You can either install the [existing unit test builds](https://adblockplus.org/devbuilds/adblockplustests) or clone the r epository and create your own build. After installing the unit tests go to _chro me://adblockplustests/content/index.html_ to run the tests. | |
| OLD | NEW |