Skip to content
Myr

Makefile

This file

Path

Makefile

42 lines · 892 bytes

Last changed by

Merge pull request #1742 from kevinburke/docsKenneth Reitzbefore adoption8a4c830

History of this file

Take it

Merge pull request #1742 from kevinburke/docsKenneth Reitzbefore adoption8a4c830

lines 1–2why, one step back
1.PHONY: docs
2

replace invoke with makefiles Kenneth Reitzbefore adoption3b35f1c

lines 3–8why, one step back
3init:
4 pip install -r requirements.txt56test:7 py.test8

Merge pull request #1739 from pengfei-xue/develKenneth Reitzbefore adoption947375e

lines 9–11why, one step back
9coverage:
10 py.test --verbose --cov-report term --cov=requests test_requests.py11

$ make ciKenneth Reitzbefore adoption5469291

lines 12–14why, one step back
12ci: init
13 py.test --junitxml=junit.xml14

replace invoke with makefiles Kenneth Reitzbefore adoption3b35f1c

lines 15–30why, one step back
15certs:
16 curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem1718deps: urllib3 charade1920urllib3:21 rm -fr requests/packages/urllib322 git clone https://github.com/shazow/urllib3.git23 mv urllib3/urllib3 requests/packages/24 rm -fr urllib32526charade:27 rm -fr requests/packages/charade28 git clone https://github.com/sigmavirus24/charade.git29 mv charade/charade requests/packages/30 rm -fr charade

Merge pull request #1735 from Lukasa/wheelKenneth Reitzbefore adoption42bffb5

lines 31–34why, one step back
31
32publish:33 python setup.py sdist upload34 python setup.py bdist_wheel upload

Merge pull request #1742 from kevinburke/docsKenneth Reitzbefore adoption8a4c830

lines 35–42why, one step back
35
3637docs-init:38 pip install -r docs/requirements.txt3940docs:41 cd docs && make html42 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"