MCPcopy Create free account
hub / github.com/Snapchat/Valdi / __run_bazel

Function __run_bazel

valdi/scripts/bazel_utils.py:11–14  ·  view source on GitHub ↗
(request, parameters)

Source from the content-addressed store, hash-verified

9
10
11def __run_bazel(request, parameters):
12 resolved_parameters = ['bzl', request] + parameters
13 print('Running: {}'.format(' '.join(resolved_parameters)))
14 return subprocess.check_output(resolved_parameters).strip()
15
16
17def build(bazel_targets, additional_options):

Callers 1

buildFunction · 0.85

Calls 3

printFunction · 0.85
formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected