Merge branch 'stable-2.11'
* stable-2.11:
Document that .watchmanconfig should be linked
Add subtitles to build documentation
Change-Id: I19edde79f4100167870e1434c419cede5a93ade5
diff --git a/.gitignore b/.gitignore
index 43838b0..b4277e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
/.buckversion
/.buckd
+/.watchmanconfig
/buck-out
/bucklets
/target
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index 4c56ed6..f726c6e 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -10,7 +10,7 @@
The standalone build mode is recommended, as this mode doesn't require
the Gerrit tree to exist locally.
-
+### Build standalone
Clone bucklets library:
@@ -30,6 +30,11 @@
cd @PLUGIN@ && ln -s bucklets/buckversion .buckversion
```
+Add link to the .watchmanconfig file:
+```
+ cd @PLUGIN@ && ln -s bucklets/watchmanconfig .watchmanconfig
+```
+
To build the plugin, issue the following command:
@@ -43,6 +48,7 @@
buck-out/gen/@PLUGIN@.jar
```
+### Build in Gerrit tree
Clone or link this plugin to the plugins directory of Gerrit's source
tree, and issue the command: