blob: c914fb781ea015deefaf435d59d5d50d358e2282 [file] [log] [blame]
David Ostrovsky01090f22016-11-05 00:50:30 +01001package(default_visibility = ['//visibility:public'])
David Ostrovskyf6b7d4a2016-08-28 20:54:50 +02002load('//tools/bzl:pkg_war.bzl', 'pkg_war')
David Ostrovskye0f23b92016-08-28 16:01:30 +02003
Han-Wen Nienhuysdc255122016-10-24 13:03:32 +02004genrule(
5 name = 'gen_version',
6 stamp = 1,
7 cmd = ("cat bazel-out/volatile-status.txt bazel-out/stable-status.txt | " +
8 "grep STABLE_BUILD_GERRIT_LABEL | cut -d ' ' -f 2 > $@"),
9 outs = ['version.txt'],
David Ostrovskye0f23b92016-08-28 16:01:30 +020010 visibility = ['//visibility:public'],
11)
David Ostrovskyf6b7d4a2016-08-28 20:54:50 +020012
Yuxuan 'fishy' Wang14fdf932016-09-30 07:59:54 +080013genrule(
14 name = "LICENSES",
15 srcs = ["//Documentation:licenses.txt"],
16 cmd = "cp $< $@",
17 outs = ["LICENSES.txt"],
18 visibility = ['//visibility:public'],
19)
20
David Ostrovskyd4ca9522016-09-04 22:27:23 +020021pkg_war(name = 'gerrit')
22pkg_war(name = 'headless', ui = None)
David Ostrovsky9413ff82016-10-25 00:02:17 +020023pkg_war(name = "polygerrit", ui = "polygerrit")
24pkg_war(name = 'release', ui = 'ui_optdbg_r', context = ['//plugins:core'], doc = True)
25pkg_war(name = 'withdocs', doc = True)
26