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

internal/language/proto: package mode #250

Merged
merged 1 commit into from
Jul 3, 2018

Commits on Jul 2, 2018

  1. internal/language/proto: package mode

    The proto extension now supports "package" mode. This can be enabled
    with -proto=package on the command line or "# gazelle:proto package"
    in a build file. In package mode, multiple proto_libraries will be
    generated in a directory. Source files will be grouped by package.
    
    To group source files by an option instead (i.e., option go_package),
    the proto extension recognizes the proto_group command line flag and
    directive.
    
    The go extension generates go_proto_library rules based on the
    proto_library rules generated by the proto extension (independent of
    proto mode when possible).
    
    Related bazel-contrib/rules_go#1548
    Jay Conrod committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    91e6a1e View commit details
    Browse the repository at this point in the history