You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bazlets.bzl 459B

123456789101112131415161718
  1. load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
  2. NAME = "com_googlesource_gerrit_bazlets"
  3. def load_bazlets(
  4. commit,
  5. local_path = None):
  6. if not local_path:
  7. git_repository(
  8. name = NAME,
  9. remote = "https://gerrit.googlesource.com/bazlets",
  10. commit = commit,
  11. )
  12. else:
  13. native.local_repository(
  14. name = NAME,
  15. path = local_path,
  16. )