blob: 7051a187c0977c5828f6a19c7f3a39d7ab3c86c3 [file] [log] [blame]
genrule(
name = "all",
srcs = [
"//example-simpleSshCommand",
"//example-sshCommandAlias",
],
outs = ["all.zip"],
cmd = " && ".join([
"p=$$PWD",
"t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
"cp $(SRCS) $$t",
"cd $$t",
"zip -qr $$p/$@ .",
]),
)