Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: README.md

Issue 29851630: Issue 6844 - Update buildtools to 1b51de5f632c / 444c380 (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/file/cc94e6a12457
Patch Set: Created Aug. 9, 2018, 7:46 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | dependencies » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox 1 Adblock Plus for Chrome, Opera, Microsoft Edge and Firefox
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, Microsoft Edge and Firefox. It can be used to build 5 Chrome, Opera, Microsoft Edge and Firefox. It can be used to build
6 Adblock Plus for these platforms, generic Adblock Plus code will be extracted 6 Adblock Plus for these platforms, generic Adblock Plus code will be extracted
7 from other repositories automatically (see _dependencies_ file). 7 from other repositories automatically (see _dependencies_ file).
8 8
9 Note that the Firefox extension built from this repository is the new 9 Note that the Firefox extension built from this repository is the new
10 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions). 10 [WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions).
11 The source code of the legacy Adblock Plus extension 11 The source code of the legacy Adblock Plus extension
12 can be found [here](https://hg.adblockplus.org/adblockplus). 12 can be found [here](https://hg.adblockplus.org/adblockplus).
13 13
14 Building 14 Building
15 --------- 15 ---------
16 16
17 ### Requirements 17 ### Requirements
18 18
19 - [Mercurial](https://www.mercurial-scm.org/) or [Git](https://git-scm.com/) (wh ichever you used to clone this repository) 19 - [Mercurial](https://www.mercurial-scm.org/) or [Git](https://git-scm.com/) (wh ichever you used to clone this repository)
20 - [Python 2.7](https://www.python.org) 20 - [Python 2.7](https://www.python.org)
21 - [The Jinja2 module](http://jinja.pocoo.org/docs) (>= 2.8) 21 - [The Jinja2 module](http://jinja.pocoo.org/docs) (>= 2.8)
22 - For signed builds: [PyCrypto module](https://www.dlitz.net/software/pycrypto /) 22 - For signed builds: [PyCrypto module](https://www.dlitz.net/software/pycrypto /)
23 - [Node.js](https://nodejs.org/) (>= 7) 23 - [Node.js](https://nodejs.org/) (>= 7)
24 24
25 ### Switching sources between platforms
kzar 2018/08/09 09:32:20 I'm usually in favour of more documentation, but I
tlucas 2018/08/09 09:42:35 Done.
26
27 You can define different sources for different platforms (e.g. different
28 storage backends). To do this add a [module_alias] section to the target
29 platform's metadata file, adhering to webpack's
30 [resolve.alias](https://webpack.js.org/configuration/resolve/#resolve-alias)
31 machinery.
32
25 ### Building the extension 33 ### Building the extension
26 34
27 Run one of the following commands in the project directory, depending on your 35 Run one of the following commands in the project directory, depending on your
28 target platform: 36 target platform:
29 37
30 ./build.py build -t chrome -k adblockpluschrome.pem 38 ./build.py build -t chrome -k adblockpluschrome.pem
31 ./build.py build -t edge 39 ./build.py build -t edge
32 ./build.py build -t gecko 40 ./build.py build -t gecko
33 41
34 This will create a build with a name in the form 42 This will create a build with a name in the form
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 Linting 98 Linting
91 ------- 99 -------
92 100
93 You can lint the code using [ESLint](http://eslint.org). 101 You can lint the code using [ESLint](http://eslint.org).
94 102
95 eslint *.js lib/ qunit/ ext/ chrome/ 103 eslint *.js lib/ qunit/ ext/ chrome/
96 104
97 You will need to set up ESLint and our configuration first, see 105 You will need to set up ESLint and our configuration first, see
98 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf ig-eyeo) 106 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf ig-eyeo)
99 for more information. 107 for more information.
OLDNEW
« no previous file with comments | « no previous file | dependencies » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld