Skip to content
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: add importpath attributes to rules #768

Merged
merged 1 commit into from
Aug 30, 2017

Conversation

jayconrod
Copy link
Contributor

  • go_prefix is no longer generated. In a future change, existing
    go_prefix rules will be removed in fix mode.
  • All go_library, go_test, and go_binary rules are generated with an
    importpath attribute.
  • importpath is now a mergeable attribute; Gazelle will replace
    existing importpath attributes unless they have a keep comment. This
    helps keep libraries up to date after they are moved to a new
    location.

Related #721

* go_prefix is no longer generated. In a future change, existing
  go_prefix rules will be removed in fix mode.
* All go_library, go_test, and go_binary rules are generated with an
  importpath attribute.
* importpath is now a mergeable attribute; Gazelle will replace
  existing importpath attributes unless they have a keep comment. This
  helps keep libraries up to date after they are moved to a new
  location.

Related bazel-contrib#721
@jayconrod jayconrod merged commit 66bbd4d into bazel-contrib:master Aug 30, 2017
@jayconrod jayconrod deleted the gazelle-add-importpath branch August 30, 2017 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants