This simplifies house keeping for the CI implementations and this was
always supported in Buck driven build. Wenn new API is added, only one
rule needs to be updated, and all CI implementation would reflect
building of new API without any changes on their side.
Change-Id: I050cef1e1545431d8806bd3a15a267842e3ed809
Reformat the Bazel build files with the buildifier tool [1].
The style is different for Bazel files. Most notably, indentation level
is 4 spaces instead of 2, and " is used instead of '.
[1] https://github.com/bazelbuild/buildifier
Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
bazel: generate the workspace version from the volatile status.
To work across bazel 0.3.1 and 0.3.2, we should grep both volatile and
stable status files for the magic version string.
Change-Id: I48361374a8d9cda1e7a5b5db4e147bc49b4452a3
Bazel 0.3.2 introduced regression: [1] workspace_status_command seems to
be ignored. That broke Bazel build. Revert this change and re-consider to
re-apply it, when the problem is fixed upstream.
* [1] https://github.com/bazelbuild/bazel/issues/1976
This reverts commit 214171ddda6c173e528affee625aa65db8dcc360.
Change-Id: I729ffaf6ae1bff5fb858d78de2a6915058c9e651
Implement genasciidoc rule for bazel. It's a filegroup containing all
the html and resource files.
Also implement genasciidoc_zip rule for bazel, which is similar to
buck's genasciidoc rule to produce a zip file containing all asciidoctor
generated and resource files.
TEST PLAN:
bazel build Documentation
buck build Documentation:html
diff -u bazel-bin/Documentation/install.html buck-out/gen/Documentation/html__tmp/Documentation/install.html
Change-Id: I3065355800a982c6956d3bb634204baaa60c045e
This generates a version file that looks correct, but doesn't rebuild
correctly. Correct rebuilds will be provided by a version of
bazel containing
a2897bff4c
Change-Id: I5101d7f2643d464cf32c8281a28ec6c3fc4fa2cf
TEST PLAN:
bazel build :gerrit
java -jar bazel-bin/gerrit.war init -d ../test_site_bazel
Verify that complete Gerrit installation including GWT UI is up and
running.
Change-Id: I2e9097b1bc59f0a22269449c15583f12d75acf65