Buck: Add 'withdocs' as an alias for '//:withdocs'

Also expand the documentation in dev-buck to include this
build target.

Change-Id: I564734ca291b081db6a030978b631ae732b19bc8
This commit is contained in:
David Pursehouse 2013-12-10 18:16:10 +09:00
parent 28e5237c19
commit c08d03ebc4
3 changed files with 16 additions and 3 deletions

View File

@ -5,6 +5,7 @@
docs = //Documentation:html
gerrit = //:gerrit
release = //:release
withdocs = //:withdocs
[buildfile]
includes = //tools/default.defs

View File

@ -211,7 +211,7 @@ next time project.py is run:
Documentation
~~~~~~~~~~~~~
To build the documentation:
To build only the documentation:
----
buck build docs
@ -229,6 +229,18 @@ The html files will also be bundled into `html.zip` in this location:
buck-out/gen/Documentation/html.zip
----
To build the executable WAR with the documentation included:
----
buck build withdocs
----
The WAR file will be placed in:
----
buck-out/gen/withdocs.war
----
[[release]]
Gerrit Release WAR File
~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -7,9 +7,9 @@ link:rest-api.html[REST API].
Please note that this feature is only usable with documentation built-in.
You'll need to
`buck build :withdocs`
`buck build withdocs`
or
`buck build :release`
`buck build release`
to test this feature.
[[documentation-endpoints]]