Skip to content

Commit

Permalink
docs : add touch WORKSPACE
Browse files Browse the repository at this point in the history
It seems that we still need to touch a file named `WORKSPACE`
```
ERROR: The 'build' command is only supported from within a workspace.
```

Closes bazelbuild#4539.

PiperOrigin-RevId: 185807230
  • Loading branch information
Passw authored and Copybara-Service committed Feb 15, 2018
1 parent e4336da commit b7d09c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/docs/user-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ <h4 id='flag--package_path'>Setting up a <code class='flag'>--package_path</code
<pre>
% mkdir -p foo/bazel
% cd foo/bazel
% touch WORKSPACE
% bazel build --package_path /some/other/path //foo
</pre>
<h3 id='target-patterns'>Specifying targets to build</h3>
Expand Down

0 comments on commit b7d09c5

Please sign in to comment.