Python Bazel integration examples

Translate a project for a specific target:

sourceanalyzer -b MyProjectA bazel build //proja:my-prj

Translate target abc in package proja/abc:

sourceanalyzer -b MyProjectA bazel build //proja/abc

or

sourceanalyzer -b MyProjectA bazel build //proja/abc:abc

Translate all targets in the package proja/abc:

sourceanalyzer -b MyProjectA bazel build //proja/abc:all

Translate all targets within the projb/ directory:

sourceanalyzer -b MyProjectB bazel build //projb/...

Specify Python project dependencies for the translation:

sourceanalyzer -b MyProjectD -python-path /usr/local/lib/python3.6/ bazel build //projd:my-python-app

OpenText SAST Bazel integration does not support multiple targets and related actions such as excluding targets.