Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

bazel query cheatsheet

which packages depend on qtdb lib?

bazel query 'rdeps(..., //vistar/geo/qtdb:go_default_library)' --output package 

which packages does qtdb depend on?

bazel query 'deps(//vistar/geo/qtdb:go_default_library)' --output package

which rules are defined in package root?

bazel query 'kind(rule, //:*)' --output label_kind

get BUILD file output from a build artifact

bazel query --noimplicit_deps 'deps(trafficking/ui/selectors.jsar)' --output=build
bazel query --noimplicit_deps 'deps(@docker//:client)' --output=build

This comment has been minimized.

Copy link
Owner Author

@natlownes natlownes commented Nov 26, 2019

bazel build --incompatible_use_python_toolchains --incompatible_py3_is_default=false @docker//:client pub-ad-server/deploy:image-development.tar && DOCKER_HOST= docker load -i bazel-bin/pub-ad-server/deploy/image-development.tar

hi hi hi hi hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment