diff options
author | Martin Matusiak <numerodix@gmail.com> | 2021-05-05 10:24:28 +1000 |
---|---|---|
committer | Martin Matusiak <numerodix@gmail.com> | 2021-05-05 10:24:28 +1000 |
commit | 9020093e38234a2d7e3aa4555a7bf90f06cad532 (patch) | |
tree | 5493d5144cb635e1f2cf641d9b1c3fe8fc907fd4 | |
parent | e8729fe37f11a895ab7a509200682d7c1ae477b6 (diff) | |
download | ansicolor-9020093e38234a2d7e3aa4555a7bf90f06cad532.tar.gz |
add readme steps for maintainers
-rw-r--r-- | README.rst | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -50,3 +50,38 @@ Take a look at the ``demos`` to see what's possible. .. _`documentation`: https://ansicolor.readthedocs.org/ + + + +Maintenance tasks +----------------- + + +Setting up a development environment (Ubuntu) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. code:: bash + + # if you don't have `mkvirtualenv` & `workon` functions in your shell + $ sudo apt install virtualenvwrapper + + $ mkvirtualenv ansicolor + (ansicolor) $ pip install -r dev-requirements.txt + + +Running tests +^^^^^^^^^^^^^ + +.. code:: bash + + $ py.test + + +Measuring code coverage +^^^^^^^^^^^^^^^^^^^^^^^ + +.. code:: bash + + $ py.test --cov=ansicolor + $ coverage html + # open htmlcov/index.html in the browser
\ No newline at end of file |