OLD | NEW |
1 Adblock Plus for Chrome, Opera and Safari | 1 Adblock Plus for Chrome, Opera and Safari |
2 ========================================= | 2 ========================================= |
3 | 3 |
4 This repository contains the platform-specific Adblock Plus source code for | 4 This repository contains the platform-specific Adblock Plus source code for |
5 Chrome, Opera and Safari. It can be used to build Adblock Plus for these | 5 Chrome, Opera and Safari. It can be used to build Adblock Plus for these |
6 platforms, generic Adblock Plus code will be extracted from other repositories | 6 platforms, generic Adblock Plus code will be extracted from other repositories |
7 automatically (see _dependencies_ file). | 7 automatically (see _dependencies_ file). |
8 | 8 |
9 Building | 9 Building |
10 --------- | 10 --------- |
11 | 11 |
12 ### Requirements | 12 ### Requirements |
13 | 13 |
| 14 - [Mercurial](https://www.mercurial-scm.org/) or [Git](https://git-scm.com/) (wh
ichever you used to clone this repository) |
14 - [Python 2.7](https://www.python.org) | 15 - [Python 2.7](https://www.python.org) |
15 - [The Jinja2 module](http://jinja.pocoo.org/docs) | 16 - [The Jinja2 module](http://jinja.pocoo.org/docs) |
16 - [The PIL module](http://www.pythonware.com/products/pil/) | 17 - [The PIL module](http://www.pythonware.com/products/pil/) |
17 - For signed Chrome builds: [M2Crypto module](https://github.com/martinpaljak/M2
Crypto) | 18 - For signed Chrome builds: [M2Crypto module](https://github.com/martinpaljak/M2
Crypto) |
18 - For signed Safari builds: A [patched version of the xar command line tool](htt
ps://github.com/mackyle/xar/) | 19 - For signed Safari builds: A [patched version of the xar command line tool](htt
ps://github.com/mackyle/xar/) |
19 | 20 |
20 ### Building the extension | 21 ### Building the extension |
21 | 22 |
22 Run one of the following commands in the project directory, depending on your | 23 Run one of the following commands in the project directory, depending on your |
23 target platform: | 24 target platform: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Running the unit tests | 58 Running the unit tests |
58 ---------------------- | 59 ---------------------- |
59 | 60 |
60 To verify your changes you can use the unit test suite located in the _qunit_ | 61 To verify your changes you can use the unit test suite located in the _qunit_ |
61 directory of the repository. In order to run the unit tests go to the | 62 directory of the repository. In order to run the unit tests go to the |
62 extension's Options page, open the JavaScript Console and type in: | 63 extension's Options page, open the JavaScript Console and type in: |
63 | 64 |
64 location.href = "qunit/index.html"; | 65 location.href = "qunit/index.html"; |
65 | 66 |
66 The unit tests will run automatically once the page loads. | 67 The unit tests will run automatically once the page loads. |
OLD | NEW |