| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 # Buildtools | 1 # Buildtools |
| 2 | 2 |
| 3 ## Introduction | 3 ## Introduction |
| 4 | 4 |
| 5 Tools used to produce builds and releases of the Adblock Plus browser | 5 Tools used to produce builds and releases of the Adblock Plus browser |
| 6 extensions. Intended to be used as a dependency by the extension repositories, | 6 extensions. Intended to be used as a dependency by the extension repositories, |
| 7 not directly. | 7 not directly. |
| 8 | 8 |
| 9 | 9 |
| 10 ## Usage | 10 ## Usage |
| 11 | 11 |
| 12 Please refer to the documentation of the extension repositories for usage | 12 Please refer to the documentation of the extension repositories for usage |
| 13 instructions | 13 instructions. |
|
Vasily Kuznetsov
2016/10/26 16:15:34
Nit: period at the end of the sentence.
kzar
2016/10/26 16:24:48
Done.
| |
| 14 | 14 |
| 15 | 15 |
| 16 ## Tests | 16 ## Tests |
| 17 | 17 |
| 18 As per the [Python Coding Style guide](https://adblockplus.org/en/coding-style#p ython) | 18 As per the [Python Coding Style guide](https://adblockplus.org/en/coding-style#p ython) |
| 19 this repository can be linted and tested using [Tox](https://pypi.python.org/pyp i/tox). | 19 this repository can be linted and tested using [Tox](https://pypi.python.org/pyp i/tox). |
| 20 | 20 |
| 21 First install flake8, flake8-abp and tox: | 21 Once [Tox is installed](https://tox.readthedocs.io/en/latest/install.html) it's |
|
Vasily Kuznetsov
2016/10/26 16:15:34
It should not be necessary to install flake8 globa
kzar
2016/10/26 16:24:48
Cool. Done.
| |
| 22 | 22 easy to lint and run the tests: |
| 23 hg clone https://hg.adblockplus.org/codingtools | |
| 24 cd codingtools | |
| 25 sudo python setup.py install | |
| 26 sudo pip install flake8 tox | |
| 27 | |
| 28 Now you can lint and test the code by running the tox command: | |
| 29 | 23 |
| 30 tox | 24 tox |
| 25 | |
| 26 _(Tox will take care of installing the other dependencies such as flake8 and | |
| 27 flake8-abp inside a virtualenv.)_ | |
| LEFT | RIGHT |