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 395B

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