Skip to content
Myr

Makefile

This file

Path

Makefile

28 lines · 873 bytes

Last changed by

Merge pull request #4295 from requests/pipenvKenneth Reitzbefore adoptioncda429a

History of this file

Take it

The walk stopped after 200 commits: lines older than c3a0077 point at it.

todoKenneth Reitzbefore adoptionc3a0077

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

Merge pull request #4295 from requests/pipenvKenneth Reitzbefore adoptioncda429a

lines 3–4why, one step back
3 pip install pipenv --upgrade
4 pipenv install --dev --skip-lock

todoKenneth Reitzbefore adoptionc3a0077

lines 5–8why, one step back
5test:
6 # This runs all of the tests, on both Python 2 and Python 3.7 detox8ci:

Merge pull request #4295 from requests/pipenvKenneth Reitzbefore adoptioncda429a

line 9why, one step back
9 pipenv run py.test -n 8 --boxed --junitxml=report.xml

todoKenneth Reitzbefore adoptionc3a0077

lines 10–11why, one step back
10
11test-readme:

Merge pull request #4295 from requests/pipenvKenneth Reitzbefore adoptioncda429a

line 12why, one step back
12 @pipenv run python setup.py check --restructuredtext --strict && ([ $$? -eq 0 ] && echo "README.rst and HISTORY.rst ok") || echo "Invalid markup in README.rst or HISTORY.rst!"

Merge pull request #4094 from kennethreitz/flake8Kenneth Reitzbefore adoptionc77911c

lines 13–14why, one step back
13
14flake8:

Merge pull request #4295 from requests/pipenvKenneth Reitzbefore adoptioncda429a

line 15why, one step back
15 pipenv run flake8 --ignore=E501,F401,E128,E402,E731,F821 requests

todoKenneth Reitzbefore adoptionc3a0077

lines 16–17why, one step back
16
17coverage:

Merge pull request #4295 from requests/pipenvKenneth Reitzbefore adoptioncda429a

line 18why, one step back
18 pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests

todoKenneth Reitzbefore adoptionc3a0077

lines 19–28why, one step back
19
20publish:21 pip install 'twine>=1.5.0'22 python setup.py sdist bdist_wheel23 twine upload dist/*24 rm -fr build dist .egg requests.egg-info2526docs:27 cd docs && make html28 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"