2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-28 08:43:51 +00:00
bazel-skylib/gazelle/bzl/testdata/multidir
Ivo List bc97abb33e
Move bzl ext (#265)
* Move Gazelle extension to //gazelle/bzl and change package name

This fixes an issue with importing bazel-skylib into
google3. Currently, Glaze (internal Go build file generator) attempts
to generate a target (//gazelle:gazelle) that conflicts with one
that's already declared here.

I think the right solution is actually to move the package into a
subdirectory. In the future (bazelbuild/bazel-gazelle#5), Gazelle's Go
extension will generate target names similar to what Glaze does, so
the same conflict will happen in open source. I think it's also
logical to have a directory of packages in case more need to be added
in the future, and for the extension to have a package name matching
the language it works with.

This is an incompatible change, but the //gazelle directory isn't part
of a tagged release yet, so hopefully it won't break anyone.

* fix runfiles access in test

* Fix gazelle package names.

Co-authored-by: Jay Conrod <jayconrod@google.com>
2020-08-20 13:14:55 -04:00
..
nested/dir Move bzl ext (#265) 2020-08-20 13:14:55 -04:00
BUILD.in Move bzl ext (#265) 2020-08-20 13:14:55 -04:00
BUILD.out Move bzl ext (#265) 2020-08-20 13:14:55 -04:00
foo.bzl Move bzl ext (#265) 2020-08-20 13:14:55 -04:00
WORKSPACE Move bzl ext (#265) 2020-08-20 13:14:55 -04:00