Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 Adblock Plus for Firefox | 1 Adblock Plus for Firefox |
2 ======================== | 2 ======================== |
3 | 3 |
4 Buildling | 4 Buildling |
5 --------- | 5 --------- |
6 | 6 |
7 ### Requirements | 7 ### Requirements |
8 | 8 |
9 - [Python 2.x](https://www.python.org) | 9 - [Python 2.x](https://www.python.org) |
10 - [The Jinja2 module](http://jinja.pocoo.org/docs) | 10 - [The Jinja2 module](http://jinja.pocoo.org/docs) |
11 | 11 |
12 ### Building the extension | 12 ### Building the extension |
13 | 13 |
14 Run the following in the project directory: | 14 Run the following in the project directory: |
15 | 15 |
16 ./build.py build | 16 ./build.py build |
17 | 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. | 18 This will create a build with a name in the form _adblockplus-1.2.3.nnnn.xpi_. |
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 This file will contain the source code currently in the repository and all | |
20 available locales. | |
19 | 21 |
20 ### Installing the extension automatically | 22 ### Installing the extension automatically |
21 | 23 |
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: | 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: | |
23 | 28 |
24 ./build.py autoinstall 8888 | 29 ./build.py autoinstall 8888 |
25 | 30 |
26 The browser will be restarted automatically if necessary. | 31 The extension will be updated immediately. |
Wladimir Palant
2014/07/18 12:58:10
Browser restart hasn't been necessary in a while n
| |
27 | 32 |
28 Running the unit tests | 33 Running the unit tests |
29 ---------------------- | 34 ---------------------- |
30 | 35 |
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. | 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. | |
LEFT | RIGHT |