Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 # Buildtools | |
2 | |
3 ## Introduction | |
4 | |
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, | |
7 not directly. | |
8 | |
9 | |
10 ## Usage | |
11 | |
12 Please refer to the documentation of the extension repositories for usage | |
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 | |
15 | |
16 ## Tests | |
17 | |
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). | |
20 | |
21 First install flake8, flake8-abp and tox: | |
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 | |
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 | |
30 tox | |
OLD | NEW |