Merge branch 'stable-3.0'
* stable-3.0:
Documentation: Remove bazel issue
Documentation: Refactor to match other plugin documentation
Documentation: Add missing alternative for plugin in-tree testing
Upgrade bazlets to latest stable-2.16
Change-Id: I967238569399d97b44e04b9407c7550b0189795e
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index a41015d..bd3e446 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -56,21 +56,19 @@
bazel build plugins/@PLUGIN@
```
-Note that due to a [known issue in Bazel][bazelissue], if the plugin
-has previously been built in standalone mode, it is necessary to clean
-the workspace before building in-tree:
-
-```
- cd plugins/@PLUGIN@
- bazel clean --expunge
-```
-
The output is created in
```
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` in `tools/bzl/plugins.bzl`, and
execute:
@@ -79,14 +77,6 @@
./tools/eclipse/project.py
```
-To execute the tests run:
-
-```
- bazel test --test_tag_filters=@PLUGIN@ //...
-```
-
-
[Back to @PLUGIN@ documentation index][index]
[index]: index.html
-[bazelissue]: https://github.com/bazelbuild/bazel/issues/2797