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

Unified Diff: infra/recipe_modules/depot_tools/example.py

Issue 1641363002: Adds bot_update to depot_tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Don't delete the old files in this CL. Created 4 years, 11 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: infra/recipe_modules/depot_tools/example.py
diff --git a/recipe_modules/depot_tools/example.py b/infra/recipe_modules/depot_tools/example.py
similarity index 70%
copy from recipe_modules/depot_tools/example.py
copy to infra/recipe_modules/depot_tools/example.py
index 4afa8e8ee7c01611eea5430343e73c2a5c6de40e..5d16a83cbc5666e31d5454dd80b54190e6e44b02 100644
--- a/recipe_modules/depot_tools/example.py
+++ b/infra/recipe_modules/depot_tools/example.py
@@ -8,7 +8,11 @@ DEPS = [
]
def RunSteps(api):
+ # TODO(martiniss) change into a direct depot_tools call
api.python('gclient help', api.depot_tools.gclient_py, ['--help'])
+ api.python(
+ 'presubmit support!', api.depot_tools.presubmit_support, ['--commit'])
+
def GenTests(api):
yield api.test('basic')
« no previous file with comments | « infra/recipe_modules/depot_tools/api.py ('k') | infra/recipe_modules/depot_tools/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698