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.
18 lines
368 B
18 lines
368 B
8 years ago
|
NAME = "com_googlesource_gerrit_bazlets"
|
||
|
|
||
|
def load_bazlets(
|
||
|
commit,
|
||
|
local_path = None
|
||
|
):
|
||
|
if not local_path:
|
||
|
native.git_repository(
|
||
|
name = NAME,
|
||
|
remote = "https://gerrit.googlesource.com/bazlets",
|
||
|
commit = commit,
|
||
|
)
|
||
|
else:
|
||
|
native.local_repository(
|
||
|
name = NAME,
|
||
|
path = local_path,
|
||
|
)
|