Debian Codegraph @

infra/bots/recipe_modules/git/examples/full.py

raw
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5
6 DEPS = [
7 'git',
8 'recipe_engine/platform',
9 'recipe_engine/step',
10 ]
11
12
13 def RunSteps(api):
14 api.step('1', cmd=['git', 'status'])
15 with api.git.env():
16 api.step('2', cmd=['git', 'status'])
17
18
19 def GenTests(api):
20 yield api.test('test')
21 yield api.test('test-win') + api.platform('win', 64)