diff --git a/.plzconfig b/.plzconfig index ee272fb..77286bc 100644 --- a/.plzconfig +++ b/.plzconfig @@ -3,11 +3,17 @@ protoctool = //third_party/proto:protoc protocgoplugin = //third_party/go:protoc-gen-go language = go +[Parse] +PreloadSubincludes = ///python//build_defs:python + [Plugin "go"] Target = //plugins:go ImportPath = github.com/please-build/proto-rules GoTool = //third_party/go:toolchain|go +[Plugin "python"] +Target = //plugins:python + [PluginDefinition] Name = proto @@ -26,9 +32,3 @@ DefaultValue = protoc Help = Any additional flags to pass to protoc Repeatable = true Optional = true - -[parse] -preloadsubincludes = ///python//build_defs:python - -[Plugin "python"] -Target = //plugins:python diff --git a/plugins/BUILD b/plugins/BUILD index f0b54d6..2a5517b 100644 --- a/plugins/BUILD +++ b/plugins/BUILD @@ -1,12 +1,9 @@ plugin_repo( name = "go", - plugin = "go-rules", revision = "v1.17.1", ) plugin_repo( name = "python", revision = "v1.6.0", - plugin = "python-rules", - owner = "please-build", )