Skip to content

Commit

Permalink
Add pyprotoc-plugin as a submodule (#288)
Browse files Browse the repository at this point in the history
Fixes #276
  • Loading branch information
CodingCanuck authored Mar 29, 2022
1 parent 938d7ed commit fd50661
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
path = submodules/dev-tools
url = https://github.com/3rdparty/dev-tools.git
branch = main
[submodule "submodules/pyprotoc-plugin"]
path = submodules/pyprotoc-plugin
url = https://github.com/reboot-dev/pyprotoc-plugin
branch = main
15 changes: 15 additions & 0 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ workspace(name = "com_github_3rdparty_eventuals")

########################################################################

# NOTE: we pull in 'pyprotoc-plugin' as a local repository pointing to the
# git submodule that we have so that we can do do more efficient
# development between the two repositories. We'll remove this for
# releases!
local_repository(
name = "com_github_reboot_dev_pyprotoc_plugin",
path = "submodules/pyprotoc-plugin",
)

load("@com_github_reboot_dev_pyprotoc_plugin//bazel:repos.bzl", pyprotoc_plugin_repos = "repos")

pyprotoc_plugin_repos(external = False)

########################################################################

load("//bazel:repos.bzl", "repos")

repos(external = False)
Expand Down
1 change: 1 addition & 0 deletions submodules/pyprotoc-plugin
Submodule pyprotoc-plugin added at 43ebf8

0 comments on commit fd50661

Please sign in to comment.