[doc] Update developer docs with bazel instructions (#4944)

This commit is contained in:
Stephanie Wang 2019-06-06 18:18:24 -07:00 committed by Philipp Moritz
parent c3f8fc1c44
commit cbc67fc750

View file

@ -29,8 +29,11 @@ recompile much more quickly by doing
.. code-block:: shell .. code-block:: shell
cd ray/build cd ray
make -j8 bazel build //:ray_pkg
This command is not enough to recompile all C++ unit tests. To do so, see
`Testing locally`_.
Debugging Debugging
--------- ---------
@ -144,6 +147,14 @@ When running tests, usually only the first test failure matters. A single
test failure often triggers the failure of subsequent tests in the same test failure often triggers the failure of subsequent tests in the same
script. script.
To compile and run all C++ tests, you can run:
.. code-block:: shell
cd ray
bazel test $(bazel query 'kind(cc_test, ...)')
Linting Linting
------- -------