| genrule( |
| name = "all", |
| srcs = [ |
| "//example-adminSshCommand", |
| "//example-assigneeValidator", |
| "//example-changeOperator", |
| "//example-commitValidator", |
| "//example-deployedOnIncludedInExtension", |
| "//example-denyUpload", |
| "//example-restApiGetRevision", |
| "//example-restApiPostProject", |
| "//example-restApiPostRevision", |
| "//example-simpleSshCommand", |
| "//example-sshCommandAlias", |
| "//example-topMenu", |
| "//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/$@ .", |
| ]), |
| ) |