blob: 8268bbb6a02b2a48e7dbd046b2acb5e120f04782 [file] [log] [blame]
genrule(
name = "all",
srcs = [
"//example-adminSshCommand",
"//example-changeOperator",
"//example-commitValidator",
"//example-deployedOnIncludedInExtension",
"//example-restApiGetRevision",
"//example-restApiPostProject",
"//example-restApiPostRevision",
"//example-simpleSshCommand",
"//example-sshCommandAlias",
"//example-topMenu",
"//example-validationListenerAssignee",
"//example-validationListenerCommit",
"//example-validationListenerHashtag",
"//example-validationListenerMerge",
"//example-validationListenerNewProjectCreated",
"//example-validationListenerRefOperation",
"//example-validationListenerUpload",
"//example-webLinkBranch",
"//example-webLinkFileHistory",
"//example-webLinkPatchSet",
"//example-webLinkProject",
],
outs = ["all.zip"],
cmd = " && ".join([
"p=$$PWD",
"t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
"cp $(SRCS) $$t",
"cd $$t",
"zip -qr $$p/$@ .",
]),
)