blob: 6a33a2e08f6b18b49f0a0d083ba5d7845c3562ad [file] [log] [blame]
James Melvindba15502017-02-02 15:47:00 -07001genrule(
2 name = "all",
3 srcs = [
James Melvin2e45ad82017-03-10 16:16:37 -07004 "//example-adminSshCommand",
Martin Fick9cf48de2016-11-15 10:17:50 -07005 "//example-changeOperator",
James Melvin05ab6f82017-03-13 14:05:55 -06006 "//example-commitValidator",
Martin Fick23ef4d92016-11-16 08:37:31 -07007 "//example-restApiGetRevision",
Martin Fick0959a0a2017-01-26 12:38:46 -07008 "//example-restApiPostProject",
Martin Fickd6dad752016-11-16 08:42:01 -07009 "//example-restApiPostRevision",
Martin Fick2e5b0c82016-11-16 07:55:57 -070010 "//example-servlet",
James Melvindba15502017-02-02 15:47:00 -070011 "//example-simpleSshCommand",
Martin Fick4d8bd382016-11-14 15:03:02 -070012 "//example-sshCommandAlias",
Martin Fick87a90e92016-11-14 15:30:46 -070013 "//example-topMenu",
James Melvindba15502017-02-02 15:47:00 -070014 ],
15 outs = ["all.zip"],
16 cmd = " && ".join([
17 "p=$$PWD",
18 "t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
19 "cp $(SRCS) $$t",
20 "cd $$t",
21 "zip -qr $$p/$@ .",
22 ]),
23)