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

Unified Diff: third_party/google_api_python_client/Makefile

Issue 963953003: OAuth2 support in depot_tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: restore git_cl Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/google_api_python_client/Makefile
diff --git a/third_party/google_api_python_client/Makefile b/third_party/google_api_python_client/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..6366e77dc7f47f6634345e43fd9919357286fb6c
--- /dev/null
+++ b/third_party/google_api_python_client/Makefile
@@ -0,0 +1,47 @@
+pep8:
+ find googleapiclient samples -name "*.py" | xargs pep8 --ignore=E111,E202
+
+APP_ENGINE_PATH=../google_appengine
+
+test:
+ tox
+
+.PHONY: coverage
+coverage:
+ coverage erase
+ find tests -name "test_*.py" | xargs --max-args=1 coverage run -a runtests.py
+ coverage report
+ coverage html
+
+.PHONY: docs
+docs:
+ cd docs; ./build
+ mkdir -p docs/dyn
+ python describe.py
+
+.PHONY: wiki
+wiki:
+ python samples-index.py > ../google-api-python-client.wiki/SampleApps.wiki
+
+.PHONY: prerelease
+prerelease:
+ -rm -rf dist/
+ -sudo rm -rf dist/
+ -rm -rf snapshot/
+ -sudo rm -rf snapshot/
+ # ./tools/gae-zip-creator.sh
+ python expandsymlinks.py
+ cd snapshot; python setup.py clean
+ cd snapshot; python setup.py sdist --formats=gztar,zip
+ cd snapshot; tar czf google-api-python-client-samples-$(shell python setup.py --version).tar.gz samples
+ cd snapshot; zip -r google-api-python-client-samples-$(shell python setup.py --version).zip samples
+
+
+.PHONY: release
+release: prerelease
+ @echo "This target will upload a new release to PyPi and code.google.com hosting."
+ @echo "Are you sure you want to proceed? (yes/no)"
+ @read yn; if [ yes -ne $(yn) ]; then exit 1; fi
+ @echo "Here we go..."
+ cd snapshot; python setup.py sdist --formats=gztar,zip register upload
+
« no previous file with comments | « third_party/google_api_python_client/MANIFEST.in ('k') | third_party/google_api_python_client/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698