LEFT | RIGHT |
(no file at all) | |
1 [![Pipeline status](https://gitlab.com/eyeo/adblockplus/adblockpluschrome/badges
/master/build.svg)](https://gitlab.com/eyeo/adblockplus/adblockpluschrome/pipeli
nes/) | 1 [![Pipeline status](https://gitlab.com/eyeo/adblockplus/adblockpluschrome/badges
/master/build.svg)](https://gitlab.com/eyeo/adblockplus/adblockpluschrome/pipeli
nes/) |
2 | 2 |
3 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox | 3 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox |
4 ========================================================== | 4 ========================================================== |
5 | 5 |
6 This repository contains the platform-specific Adblock Plus source code for | 6 This repository contains the platform-specific Adblock Plus source code for |
7 Chrome, Opera, Microsoft Edge and Firefox. It can be used to build | 7 Chrome, Opera, Microsoft Edge and Firefox. It can be used to build |
8 Adblock Plus for these platforms, generic Adblock Plus code will be extracted | 8 Adblock Plus for these platforms, generic Adblock Plus code will be extracted |
9 from other repositories automatically (see _dependencies_ file). | 9 from other repositories automatically (see _dependencies_ file). |
10 | 10 |
11 Note that the Firefox extension built from this repository is the new | 11 Note that the Firefox extension built from this repository is the new |
12 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions). | 12 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions). |
13 The source code of the legacy Adblock Plus extension | 13 The source code of the legacy Adblock Plus extension |
14 can be found [here](https://hg.adblockplus.org/adblockplus). | 14 can be found [here](https://hg.adblockplus.org/adblockplus). |
15 | 15 |
16 Building | 16 Building |
17 --------- | 17 --------- |
18 | 18 |
19 ### Requirements | 19 ### Requirements |
20 | 20 |
21 - [Mercurial](https://www.mercurial-scm.org/) or [Git](https://git-scm.com/) (wh
ichever you used to clone this repository) | 21 - [Mercurial](https://www.mercurial-scm.org/) or [Git](https://git-scm.com/) (wh
ichever you used to clone this repository) |
22 - [Python 2.7](https://www.python.org) | 22 - [Python 2.7](https://www.python.org) |
23 - [The Jinja2 module](http://jinja.pocoo.org/docs) (>= 2.8) | 23 - [The Jinja2 module](http://jinja.pocoo.org/docs) (>= 2.8) |
24 - For signed builds: [PyCrypto module](https://www.dlitz.net/software/pycrypto
/) | 24 - For signed builds: [PyCrypto module](https://www.dlitz.net/software/pycrypto
/) |
25 - [Node.js](https://nodejs.org/) (>= 8) | 25 - [Node.js](https://nodejs.org/) (>= 8.9) |
26 | 26 |
27 ### Building on Windows | 27 ### Building on Windows |
28 | 28 |
29 On Windows, you need a [Linux environment running on WSL](https://docs.microsoft
.com/windows/wsl/install-win10). | 29 On Windows, you need a [Linux environment running on WSL](https://docs.microsoft
.com/windows/wsl/install-win10). |
30 Then install the above requirements and run the commands below from within Bash. | 30 Then install the above requirements and run the commands below from within Bash. |
31 | 31 |
32 ### Building the extension | 32 ### Building the extension |
33 | 33 |
34 Run one of the following commands in the project directory, depending on your | 34 Run one of the following commands in the project directory, depending on your |
35 target platform: | 35 target platform: |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 You will need to setup first. This will install our configuration | 140 You will need to setup first. This will install our configuration |
141 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf
ig-eyeo) | 141 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf
ig-eyeo) |
142 and everything needed after you run: | 142 and everything needed after you run: |
143 | 143 |
144 npm install | 144 npm install |
145 | 145 |
146 Then you can run to lint the code: | 146 Then you can run to lint the code: |
147 | 147 |
148 npm run lint | 148 npm run lint |
LEFT | RIGHT |