1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Fixed tox.ini and improved tests and CONTRIBUTING.txt

This commit is contained in:
Jakub Roztocil
2016-01-02 14:07:00 -03:00
parent 34c6958dc8
commit 84b81c00ea
5 changed files with 64 additions and 38 deletions

View File

@@ -1,3 +1,7 @@
#
# See ./CONTRIBUTING.rst
#
VERSION=$(shell grep __version__ httpie/__init__.py)
REQUIREMENTS="requirements-dev.txt"
TAG="\n\n\033[0;32m\#\#\# "
@@ -7,6 +11,8 @@ all: test
uninstall-httpie:
@echo $(TAG)Removing existing installation of HTTPie$(END)
@echo "(NOTE: uninstall httpie manually if this fails)"
@echo
- pip uninstall --yes httpie >/dev/null
! which http
@echo
@@ -22,7 +28,7 @@ init: uninstall-httpie
@echo
test: init
@echo $(TAG)Running tests in on current Python with coverage $(END)
@echo $(TAG)Running tests on the current Python interpreter with coverage $(END)
py.test --cov ./httpie --cov ./tests --doctest-modules --verbose ./httpie ./tests
@echo