OLD | NEW |
| (Empty) |
1 pep8: | |
2 find googleapiclient samples -name "*.py" | xargs pep8 --ignore=E111,E20
2 | |
3 | |
4 APP_ENGINE_PATH=../google_appengine | |
5 | |
6 test: | |
7 tox | |
8 | |
9 .PHONY: coverage | |
10 coverage: | |
11 coverage erase | |
12 find tests -name "test_*.py" | xargs --max-args=1 coverage run -a runtes
ts.py | |
13 coverage report | |
14 coverage html | |
15 | |
16 .PHONY: docs | |
17 docs: | |
18 cd docs; ./build | |
19 mkdir -p docs/dyn | |
20 python describe.py | |
21 | |
22 .PHONY: wiki | |
23 wiki: | |
24 python samples-index.py > ../google-api-python-client.wiki/SampleApps.wi
ki | |
25 | |
26 .PHONY: prerelease | |
27 prerelease: | |
28 -rm -rf dist/ | |
29 -sudo rm -rf dist/ | |
30 -rm -rf snapshot/ | |
31 -sudo rm -rf snapshot/ | |
32 # ./tools/gae-zip-creator.sh | |
33 python expandsymlinks.py | |
34 cd snapshot; python setup.py clean | |
35 cd snapshot; python setup.py sdist --formats=gztar,zip | |
36 cd snapshot; tar czf google-api-python-client-samples-$(shell python set
up.py --version).tar.gz samples | |
37 cd snapshot; zip -r google-api-python-client-samples-$(shell python setu
p.py --version).zip samples | |
38 | |
39 | |
40 .PHONY: release | |
41 release: prerelease | |
42 @echo "This target will upload a new release to PyPi and code.google.com
hosting." | |
43 @echo "Are you sure you want to proceed? (yes/no)" | |
44 @read yn; if [ yes -ne $(yn) ]; then exit 1; fi | |
45 @echo "Here we go..." | |
46 cd snapshot; python setup.py sdist --formats=gztar,zip register upload | |
47 | |
OLD | NEW |