Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: tools/telemetry/third_party/coverage/Makefile

Issue 1366913004: Add coverage Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
3
4 # Makefile for utility work on coverage.py.
5
6 default:
7 @echo "* No default action *"
8
9 clean:
10 -rm -f *.pyd */*.pyd
11 -rm -f *.so */*.so
12 -PYTHONPATH=. python tests/test_farm.py clean
13 -rm -rf build coverage.egg-info dist htmlcov
14 -rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc */*/*/*/*.pyc */*/*/*/*/*.pyc
15 -rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo */*/*/*/*.pyo */*/*/*/*/*.pyo
16 -rm -f *.bak */*.bak */*/*.bak */*/*/*.bak */*/*/*/*.bak */*/*/*/*/*.bak
17 -rm -f *$$py.class */*$$py.class */*/*$$py.class */*/*/*$$py.class */*/* /*/*$$py.class */*/*/*/*/*$$py.class
18 -rm -rf __pycache__ */__pycache__ */*/__pycache__ */*/*/__pycache__ */*/ */*/__pycache__ */*/*/*/*/__pycache__
19 -rm -f coverage/*,cover
20 -rm -f MANIFEST
21 -rm -f .coverage .coverage.* coverage.xml .metacov* .noseids
22 -rm -f tests/zipmods.zip
23 -rm -rf tests/eggsrc/build tests/eggsrc/dist tests/eggsrc/*.egg-info
24 -rm -f setuptools-*.egg distribute-*.egg distribute-*.tar.gz
25 -rm -rf doc/_build doc/_spell
26
27 sterile: clean
28 -rm -rf .tox*
29
30 LINTABLE = coverage igor.py setup.py tests ci/*.py
31
32 lint:
33 -pylint $(LINTABLE)
34 python -m tabnanny $(LINTABLE)
35 python igor.py check_eol
36
37 spell:
38 -pylint --disable=all --enable=spelling $(LINTABLE)
39
40 pep8:
41 pep8 --filename=*.py --repeat $(LINTABLE)
42
43 test:
44 tox -e py27,py34 $(ARGS)
45
46 metacov:
47 COVERAGE_COVERAGE=yes tox $(ARGS)
48
49 metahtml:
50 python igor.py combine_html
51
52 # Kitting
53
54 kit:
55 python setup.py sdist --formats=gztar,zip
56
57 wheel:
58 tox -c tox_wheels.ini $(ARGS)
59
60 kit_upload:
61 twine upload dist/*
62
63 kit_local:
64 cp -v dist/* `awk -F "=" '/find-links/ {print $$2}' ~/.pip/pip.conf`
65 # pip caches wheels of things it has installed. Clean them out so we
66 # don't go crazy trying to figure out why our new code isn't installing.
67 find ~/Library/Caches/pip/wheels -name 'coverage-*' -delete
68
69 download_appveyor:
70 python ci/download_appveyor.py nedbat/coveragepy
71
72 pypi:
73 python setup.py register
74
75 install:
76 python setup.py install
77
78 uninstall:
79 -rm -rf $(PYHOME)/lib/site-packages/coverage*
80 -rm -rf $(PYHOME)/scripts/coverage*
81
82 # Documentation
83
84 SPHINXBUILD = sphinx-build
85 SPHINXOPTS = -a -E doc
86 WEBHOME = ~/web/stellated/
87 WEBSAMPLE = $(WEBHOME)/files/sample_coverage_html
88 WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta
89
90 docreqs:
91 pip install -r doc/requirements.pip
92
93 dochtml:
94 $(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html
95 @echo
96 @echo "Build finished. The HTML pages are in doc/_build/html."
97
98 docspell:
99 $(SPHINXBUILD) -b spelling $(SPHINXOPTS) doc/_spell
100
101 publish:
102 rm -f $(WEBSAMPLE)/*.*
103 mkdir -p $(WEBSAMPLE)
104 cp doc/sample_html/*.* $(WEBSAMPLE)
105
106 publishbeta:
107 rm -f $(WEBSAMPLEBETA)/*.*
108 mkdir -p $(WEBSAMPLEBETA)
109 cp doc/sample_html_beta/*.* $(WEBSAMPLEBETA)
OLDNEW
« no previous file with comments | « tools/telemetry/third_party/coverage/MANIFEST.in ('k') | tools/telemetry/third_party/coverage/NOTICE.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698