diff options
author | Googler <noreply@google.com> | 2017-08-04 19:31:14 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-08-07 11:22:09 +0200 |
commit | 1c6a982260ac9c238d5b7b24846a6871b7f9a540 (patch) | |
tree | 8cbce08550cf996254738622c79b026c6ea4803f /site/docs/tutorial | |
parent | ce61d638197251f71ed90db74843b55d9c2e9ae5 (diff) |
Add TOC to Java tutorial.
RELNOTES: None.
PiperOrigin-RevId: 164278379
Diffstat (limited to 'site/docs/tutorial')
-rw-r--r-- | site/docs/tutorial/java.md | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/site/docs/tutorial/java.md b/site/docs/tutorial/java.md index 6059ba1123..0c5cafb5e8 100644 --- a/site/docs/tutorial/java.md +++ b/site/docs/tutorial/java.md @@ -23,11 +23,33 @@ In this tutorial you'll learn how to: * Reference targets through labels * Deploy a target +## Contents + +* [Before you begin](#before-you-begin) + * [Install Bazel](#install-bazel) + * [Get the sample project](#get-the-sample-project) +* [Build with Bazel](#build-with-bazel) + * [Set up the workspace](#set-up-the-workspace) + * [Understand the BUILD file](#understand-the-build-file) + * [Build the project](#build-the-project) + * [Review the dependency graph](#review-the-dependency-graph) +* [Refine your Bazel build](#refine-your-bazel-build) + * [Specify multiple build targets](#specify-multiple-build-targets) + * [Use multiple packages](#use-multiple-packages) +* [Use labels to reference targets](#use-labels-to-reference-targets) +* [Package a Java target for deployment](#package-a-java-target-for-deployment) +* [Further reading](#further-reading) + ## Before you begin +### Install Bazel + To prepare for the tutorial, first [Install Bazel](../install.md) if -you don't have it installed already. Then, retrieve the sample project from -Bazel's GitHub repository: +you don't have it installed already. + +### Get the sample project + +Retrieve the sample project from Bazel's GitHub repository: ```sh git clone https://github.com/bazelbuild/examples/ |