Merge branch 'stable-3.0' into stable-3.1 * stable-3.0: Documentation: Add missing plugin in-tree testing Documentation: Add missing footer that links to plugin index page Add an empty tools/BUILD file explicitly for Bazel Change-Id: I697963d65a0440fb45553c9d74ef62766e79b622
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md index 40a9cc4..49709ef 100644 --- a/src/main/resources/Documentation/build.md +++ b/src/main/resources/Documentation/build.md
@@ -19,6 +19,13 @@ bazel-bin/plugins/@PLUGIN@/@PLUGIN@.jar ``` +To execute the tests run either one of: + +``` + bazel test --test_tag_filters=@PLUGIN@ //... + bazel test plugins/@PLUGIN@:@PLUGIN@_tests +``` + This project can be imported into the Eclipse IDE. Add the plugin name to the `CUSTOM_PLUGINS` set in Gerrit core in `tools/bzl/plugins.bzl`, and execute: @@ -26,3 +33,7 @@ ``` ./tools/eclipse/project.py ``` + +[Back to @PLUGIN@ documentation index][index] + +[index]: index.html \ No newline at end of file
diff --git a/tools/BUILD b/tools/BUILD new file mode 100644 index 0000000..cc10083 --- /dev/null +++ b/tools/BUILD
@@ -0,0 +1 @@ +# Empty file - bazel treat directories with BUILD file as a package