| /external/bazelbuild-rules_python/gazelle/ |
| D | README.md | 1 # Python Gazelle plugin 3 [Gazelle](https://github.com/bazelbuild/bazel-gazelle) 6 Gazelle may be run by Bazel using the gazelle rule, or it may be installed and run as a command lin… 9 [Gazelle](https://github.com/bazelbuild/bazel-gazelle) 13 Please refer to older documentation that includes instructions on how to use Gazelle 18 We have an example of using Gazelle with Python located [here](https://github.com/bazelbuild/rules_… 23 ## Adding Gazelle to your project 25 First, you'll need to add Gazelle to your `MODULES.bazel` file. 26 Get the current version of Gazelle from there releases here: https://github.com/bazelbuild/bazel-g… 44 # The following stanza defines the dependency gazelle. [all …]
|
| D | BUILD.bazel | 1 load("@bazel_gazelle//:def.bzl", "gazelle") 3 # Gazelle configuration options. 4 # See https://github.com/bazelbuild/bazel-gazelle#running-gazelle-with-bazel 5 # gazelle:prefix github.com/bazelbuild/rules_python/gazelle 6 # gazelle:exclude bazel-out 7 gazelle(name = "gazelle") 9 gazelle(
|
| /external/bazelbuild-rules_go/go/tools/releaser/ |
| D | upgradedep_test.go | 16 …expression: []byte(`# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/tools -go_na… 17 Label("//third_party:org_golang_x_tools-gazelle.patch")`), 18 result: "//third_party:org_golang_x_tools-gazelle.patch", 21 …expression: []byte(`# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/tools -go_na… 22 "@io_bazel_rules_go//third_party:org_golang_x_tools-gazelle.patch"`), 23 result: "//third_party:org_golang_x_tools-gazelle.patch", 26 …expression: []byte(`# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/tools -go_na… 27 "//third_party:org_golang_x_tools-gazelle.patch"`), 28 result: "//third_party:org_golang_x_tools-gazelle.patch", 31 …expression: []byte(`# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/tools -go_na… [all …]
|
| /external/bazelbuild-rules_go/docs/go/core/ |
| D | bzlmod.md | 3 This document describes how to use rules_go and Gazelle with Bazel's new external dependency subsys… 4 Usages of rules_go and Gazelle in `BUILD` files are not affected by this; refer to the existing doc… 12 bazel_dep(name = "gazelle", version = "0.31.0") 17 If you have WORKSPACE dependencies that reference rules_go and/or Gazelle, you can still use the le… 21 bazel_dep(name = "gazelle", version = "0.31.0", repo_name = "bazel_gazelle") 81 load("@gazelle//:def.bzl", "gazelle") 83 gazelle(name = "gazelle") 86 …o add the following [Gazelle directive](https://github.com/bazelbuild/bazel-gazelle#directives) to… 89 # gazelle:prefix github.com/example/project 92 Then, use `bazel run //:gazelle` to (re-)generate BUILD files. [all …]
|
| /external/bazelbuild-rules_python/examples/bzlmod_build_file_generation/ |
| D | BUILD.bazel | 6 # The following code loads the base python requirements and gazelle 8 load("@bazel_gazelle//:def.bzl", "gazelle") 38 # Gazelle python extension needs a manifest file mapping from 47 # When you are using gazelle you need to run this target first. 61 # Our gazelle target points to the python gazelle binary. 63 # If you also had proto, go, or other gazelle-supported languages, 65 # See https://github.com/bazelbuild/bazel-gazelle/blob/master/extend.rst#example 66 # This is the primary gazelle target to run, so that you can update BUILD.bazel files. 68 # - bazel run //:gazelle update 69 # - bazel run //:gazelle fix [all …]
|
| D | README.md | 3 This example demostrates how to use `rules_python` and gazelle with `bzlmod` enabled. 8 Gazelle is setup with the `rules_python` 13 $ bazel run //:gazelle update 16 The are other targets that allow you to update the gazelle dependency management 23 For more information on the behavior of the `rules_python` gazelle extension, 24 see the [README.md](../../gazelle/README.md) file in the /gazelle folder.
|
| /external/bazel-skylib/gazelle/bzl/ |
| D | BUILD | 1 load("@bazel_gazelle//:def.bzl", "gazelle", "gazelle_binary") 6 # gazelle:exclude testdata 10 srcs = ["gazelle.go"], 11 importpath = "github.com/bazelbuild/bazel-skylib/gazelle", 29 ":gazelle-skylib", 43 # This gazelle binary is used exclusively for testing the gazelle language 46 name = "gazelle-skylib", 55 gazelle( 56 name = "gazelle", 57 gazelle = ":gazelle-skylib",
|
| /external/bazelbuild-rules_go/examples/basic-gazelle/ |
| D | BUILD.bazel | 2 load("@bazel_gazelle//:def.bzl", "gazelle") 4 # gazelle:prefix github.com/bazelbuild/rules_go/examples/basic-gazelle 5 gazelle(name = "gazelle") 8 gazelle( 9 name = "gazelle-update-repos", 21 importpath = "github.com/bazelbuild/rules_go/examples/basic-gazelle", 30 name = "basic-gazelle",
|
| D | WORKSPACE | 21 …tps://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazel… 22 …"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazelle-v0.30.0.tar.g… 29 # the line below instructs gazelle to save the go dependency definitions 35 # Else, dependencies declared by rules_go/gazelle will be used. 45 # The next comment line includes a macro that gazelle reads. 46 # This macro tells Gazelle to look for repository rules in a macro in a .bzl file, 47 # and allows Gazelle to find the correct file to maintain the Go dependencies. 51 # gazelle:repository_macro deps.bzl%go_dependencies 64 # The following call configured the gazelle dependencies, Go environment and Go SDK.
|
| /external/bazelbuild-rules_go/go/private/ |
| D | repositories.bzl | 79 …# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/tools -go_naming_convention impo… 80 Label("//third_party:org_golang_x_tools-gazelle.patch"), 97 …# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/sys -go_naming_convention import… 98 Label("//third_party:org_golang_x_sys-gazelle.patch"), 116 …# releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/xerrors -go_naming_convention im… 117 Label("//third_party:org_golang_x_xerrors-gazelle.patch"), 125 # with 'gazelle update-repos -from_file=go.mod). There are several 151 …# releaser:patch-cmd gazelle -repo_root . -go_prefix google.golang.org/protobuf -go_naming_convent… 152 Label("//third_party:org_golang_google_protobuf-gazelle.patch"), 174 …# releaser:patch-cmd gazelle -repo_root . -go_prefix github.com/golang/protobuf -go_naming_convent… [all …]
|
| /external/bazelbuild-rules_python/examples/build_file_generation/ |
| D | BUILD.bazel | 5 load("@bazel_gazelle//:def.bzl", "gazelle") 34 # Gazelle python extension needs a manifest file mapping from 53 # Our gazelle target points to the python gazelle binary. 55 # If you also had proto, go, or other gazelle-supported languages, 57 # See https://github.com/bazelbuild/bazel-gazelle/blob/master/extend.rst#example 58 gazelle( 59 name = "gazelle", 61 gazelle = "@rules_python_gazelle_plugin//python:gazelle_binary", 64 # This rule is auto-generated and managed by Gazelle, 80 # This rule is auto-generated and managed by Gazelle, [all …]
|
| D | WORKSPACE | 11 # We need rules_go and bazel_gazelle, to build the gazelle plugin from source. 13 # https://github.com/bazelbuild/bazel-gazelle#running-gazelle-with-bazel 36 …tps://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazel… 37 …"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazelle-v0.30.0.tar.g… 55 # The following call configured the gazelle dependencies, Go environment and Go SDK. 71 path = "../../gazelle", 116 # The rules_python gazelle extension has some third-party go dependencies 120 # See: https://github.com/bazelbuild/rules_python/blob/main/gazelle/README.md 121 # This rule loads and compiles various go dependencies that running gazelle
|
| D | README.md | 1 # Build file generation with Gazelle 3 This example shows a project that has Gazelle setup with the rules_python 10 bazel run //:gazelle 14 re-run that gazelle command. You'll see that a `py_binary` target 21 For more information on the behavior of the rules_python gazelle extension, 22 see the README.md file in the /gazelle folder.
|
| /external/bazelbuild-rules_go/docs/go/extras/ |
| D | extras.bzl | 2 [gazelle rule]: https://github.com/bazelbuild/bazel-gazelle#bazel-rule 12 - [gazelle](#gazelle) 17 - [gazelle rule] 23 gazelle 26 This rule has moved. See [gazelle rule] in the Gazelle repository.
|
| /external/bazelbuild-rules_go/third_party/ |
| D | go_googleapis-directives.patch | 5 +# gazelle:go_naming_convention import_alias 6 +# gazelle:proto package 7 +# gazelle:proto_group go_package 8 +# gazelle:exclude gapic 9 +# gazelle:exclude third_party 10 +# gazelle:exclude google/example/endpointsapis/goapp 15 +# gazelle:prefix google.golang.org/genproto/googleapis
|
| /external/bazelbuild-rules_go/ |
| D | WORKSPACE | 80 …tps://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazel… 81 …"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazelle-v0.30.0.tar.g… 122 # TODO(sluongng): Gazelle v0.25.0 switched to static dependency resolution which cause 124 # We should investigate in Gazelle why this happen and fix it. 127 # gazelle:repository go_repository name=org_golang_x_tools importpath=golang.org/x/tools 128 # gazelle:repository go_repository name=org_golang_x_text importpath=golang.org/x/text 129 # gazelle:repository go_repository name=org_golang_x_xerrors importpath=golang.org/x/xerrors 130 # gazelle:repository go_repository name=org_golang_x_net importpath=golang.org/x/net 131 # gazelle:repository go_repository name=org_golang_x_sys importpath=golang.org/x/sys 132 # gazelle:repository go_repository name=org_golang_x_crypto importpath=golang.org/x/crypto
|
| D | BUILD.bazel | 29 # gazelle:prefix github.com/bazelbuild/rules_go 30 # gazelle:exclude tests 31 # gazelle:exclude third_party 32 # gazelle:exclude go/tools/builders 33 # gazelle:exclude go/tools/coverdata 34 # gazelle:exclude go/tools/fetch_repo 35 # gazelle:exclude go/tools/windows-testrunner 36 # gazelle:go_naming_convention import_alias 38 # TODO(jayconrod): add a gazelle rule so gazelle can be run automatically. 40 # rules_go but not Gazelle, including our own go_bazel_tests.
|
| D | README.rst | 28 .. _gazelle update-repos: https://github.com/bazelbuild/bazel-gazelle#update-repos 29 .. _gazelle: https://github.com/bazelbuild/bazel-gazelle target 30 .. _github.com/bazelbuild/bazel-gazelle: https://github.com/bazelbuild/bazel-gazelle 35 .. _rules_go and Gazelle roadmap: https://github.com/bazelbuild/rules_go/wiki/Roadmap 51 .. _go_repository: https://github.com/bazelbuild/bazel-gazelle/blob/master/repository.md#go_reposit… 149 * `go_repository`_ (Gazelle) 171 * `rules_go and Gazelle roadmap`_ 303 …tps://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazel… 304 …"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.30.0/bazel-gazelle-v0.30.0.tar.g… 324 load("@bazel_gazelle//:def.bzl", "gazelle") [all …]
|
| /external/tink/go/ |
| D | BUILD.bazel | 2 load("@bazel_gazelle//:def.bzl", "gazelle") 14 # gazelle:prefix github.com/google/tink/go 15 gazelle( 16 name = "gazelle", 22 gazelle( 23 name = "gazelle-update-repos",
|
| /external/bazel-skylib/distribution/ |
| D | BUILD | 52 name = "bazel-skylib-gazelle-plugin-distro_workspace", 58 name = "bazel-skylib-gazelle-plugin-without-external-prefix", 67 name = "bazel-skylib-gazelle-plugin", 69 "bazel-skylib-gazelle-plugin-distro_workspace", 70 "bazel-skylib-gazelle-plugin-without-external-prefix", 73 out = "bazel-skylib-gazelle-plugin-%s.tar.gz" % version, 85 "bazel-skylib-gazelle-plugin",
|
| /external/bazelbuild-rules_python/gazelle/python/testdata/monorepo/three/ |
| D | BUILD.in | 1 # gazelle:python_extension enabled 2 # gazelle:python_root 3 # gazelle:resolve py bar //one/bar 4 # gazelle:resolve py bar.baz //one/bar/baz:modified_name_baz 5 # gazelle:resolve py foo //one/foo
|
| D | BUILD.out | 3 # gazelle:python_extension enabled 4 # gazelle:python_root 5 # gazelle:resolve py bar //one/bar 6 # gazelle:resolve py bar.baz //one/bar/baz:modified_name_baz 7 # gazelle:resolve py foo //one/foo
|
| /external/bazel-skylib/gazelle/ |
| D | WORKSPACE.bzlmod | 3 # Provide a repository hint for Gazelle to inform it that the go package 6 # gazelle:repository go_repository name=io_bazel_rules_go importpath=github.com/bazelbuild/rules_go 7 # Another Gazelle repository hint. 8 # gazelle:repository go_repository name=bazel_gazelle importpath=github.com/bazelbuild/bazel-gazell…
|
| D | WORKSPACE | 20 # Provide a repository hint for Gazelle to inform it that the go package 23 # gazelle:repository go_repository name=io_bazel_rules_go importpath=github.com/bazelbuild/rules_go 24 # Another Gazelle repository hint. 25 # gazelle:repository go_repository name=bazel_gazelle importpath=github.com/bazelbuild/bazel-gazell…
|
| /external/bazelbuild-rules_python/gazelle/python/testdata/ |
| D | README.md | 1 # Gazelle Python extension test cases 5 Gazelle, and `BUILD.out` how the build file should look like after running 6 Gazelle. 8 Each test case is a Bazel workspace and Gazelle will run with its working 10 `test.yaml` files and use them to determine the directory Gazelle should use for
|