You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the example for @googleapis leads to the following errors:
ERROR: /home/jvolkman/repo/WORKSPACE:461:17: //external:googleapis: invalid value in 'build_file_generation' attribute: has to be one of 'auto', 'off' or 'on' instead of 'clean'
ERROR: /home/jvolkman/repo/WORKSPACE:461:17: //external:googleapis: no such attribute 'proto_language_config_file' in 'go_repository' rule
the repository_rule name is go_repository which is confusing. Maybe it should be something like _proto_repository since there's already a proto_repository macro.
there doesn't appear to be support for the clean option to build_file_generation. I set it to on which seems to be working.
it looks like proto_language_config_file should actually be cfgs (a list). I used cfgs and it worked.
Using the example for
@googleapis
leads to the following errors:Three things I've found looking at the source:
repository_rule
name isgo_repository
which is confusing. Maybe it should be something like_proto_repository
since there's already aproto_repository
macro.clean
option tobuild_file_generation
. I set it toon
which seems to be working.proto_language_config_file
should actually becfgs
(a list). I usedcfgs
and it worked.So my working rule now looks like:
I'd open a PR but I wasn't sure about the missing support for
clean
.The text was updated successfully, but these errors were encountered: