-
-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gazelle should support multiple package in the same directory #315
Comments
s/Blaze/Bazel/ ;) |
@ashi009 In this context, I actually meant Blaze :) Bazel is the open source version of Google's internal system called Blaze. Internal Go projects follow their own set of conventions (Blaze conventions), which is different from the normal Go conventions. We want Gazelle to support both sets of conventions to make it easy to open source internal projects in the future. |
Make sense. I thought we always use bazel externally.
Jay Conrod <notifications@github.com>于2017年3月18日 周六上午9:25写道:
… @ashi009 <https://github.com/ashi009> In this context, I actually meant
Blaze :) Bazel is the open source version of Google's internal system
called Blaze.
Internal Go projects follow their own set of conventions (Blaze
conventions), which is different from the normal Go conventions. We want
Gazelle to support both sets of conventions to make it easy to open source
internal projects in the future.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#315 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAp9BxtNdXWEoH0TFKJcjAAH4we2K3BHks5rmwhcgaJpZM4MhDNs>
.
|
Closing old Gazelle issues. Migrated to bazel-contrib/bazel-gazelle#7. |
This will help migrate projects that follow the Blaze style.
A rough outline of rules to be followed. This will need to be refined.
go_library
exists with the namego_default_library
, it will own these files.go_library
exists with the name of the directory, it will own these files.go_default_library
will be the default.go_library
rule with a matching name.go_test
rule, following the naming convention above.NOTE: Gazelle cannot use
go/build
to do this, since that package assumes sources follow the Go conventions instead of the Blaze conventions.NOTE: The import path for
//foo/bar:bar
will bego_prefix/foo/bar/bar
.The text was updated successfully, but these errors were encountered: