Skip to content

Instantly share code, notes, and snippets.

@or-shachar
Created February 10, 2021 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save or-shachar/a41411d9a30c9a15dd45702ca3cd4366 to your computer and use it in GitHub Desktop.
Save or-shachar/a41411d9a30c9a15dd45702ca3cd4366 to your computer and use it in GitHub Desktop.
Example for external repositories bazel definition
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
def wix_deps():
git_repository(
name = "wix_a",
remote = "git://github.com:wix-example/wix-a.git",
commit = "[latest_wix_a_commit]",
)
git_repository(
name = "wix_b",
remote = "git://github.com:wix-example/wix-b.git",
commit = "[latest_wix_b_commit]",
)
git_repository(
name = "wix_c",
remote = "git://github.com:wix-example/wix-c.git",
commit = "[latest_wix_c_commit]",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment