Skip to content
Myr

Makefile

This file

Path

Makefile

45 lines · 1.0 KiB

Last changed by

Merge pull request #2174 from kevinburke/test-clarificationKenneth Reitzbefore adoption7a09e72

History of this file

Take it

1.PHONY: docs23init:4	pip install -r requirements.txt56test:7	# This runs all of the tests. To run an individual test, run py.test with8	# the -k flag, like "py.test -k test_path_is_not_double_encoded"9	py.test test_requests.py1011coverage:12	py.test --verbose --cov-report term --cov=requests test_requests.py1314ci: init15	py.test --junitxml=junit.xml1617certs:18	curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem1920deps: urllib3 chardet2122urllib3:23	rm -fr requests/packages/urllib324	git clone https://github.com/shazow/urllib3.git25	mv urllib3/urllib3 requests/packages/26	rm -fr urllib32728chardet:29	rm -fr requests/packages/chardet30	git clone https://github.com/chardet/chardet.git31	mv chardet/chardet requests/packages/32	rm -fr chardet3334publish:35	python setup.py register36	python setup.py sdist upload37	python setup.py bdist_wheel upload383940docs-init:41	pip install -r docs/requirements.txt4243docs:44	cd docs && make html45	@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"