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.nnnn.xpi_. |
| 19 This file will contain the source code currently in the repository and all |
| 20 available locales. |
| 21 |
| 22 ### Installing the extension automatically |
| 23 |
| 24 To simplify the process of testing your changes you can install |
| 25 [Extension Auto-Installer](https://addons.mozilla.org/addon/autoinstaller). |
| 26 Assuming that Extension Auto-Installer is configured to use port 8888 |
| 27 (the default value), you can push your changes to the browser by running: |
| 28 |
| 29 ./build.py autoinstall 8888 |
| 30 |
| 31 The extension will be updated immediately. |
| 32 |
| 33 Running the unit tests |
| 34 ---------------------- |
| 35 |
| 36 To verify your changes you can use the existing |
| 37 [unit test suite](https://hg.adblockplus.org/adblockplustests). The unit tests |
| 38 are a separate extension that is installed in addition to Adblock Plus. You can |
| 39 either install the |
| 40 [existing unit test builds](https://adblockplus.org/devbuilds/adblockplustests) |
| 41 or clone the repository and create your own build. After installing the unit |
| 42 tests go to _chrome://adblockplustests/content/index.html_ to run the tests. |
OLD | NEW |