Skip to content

Commit

Permalink
Mistake in plz query codelab (#3172)
Browse files Browse the repository at this point in the history
  • Loading branch information
samwestmoreland committed May 17, 2024
1 parent 82b3e1e commit 86218e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/codelabs/plz_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ then builds it like any other Please project. So
in the subrepo called *third_party/go/github.com_stretchr_testify*, and retrieve
for me the build target `//assert:assert`.

You can `plz query print` these targets just like you would any other target:

```bash
plz query print ///third_party/go/github.com_stretchr_testify//assert:assert
```

these targets just like any other target, which will show you the underlying
build rule for that target. Or, if you prefer, you could have a look in the
plz-out directory at the generated build rule:
This will show you the underlying build rule for that target. Or, if you prefer,
you could have a look in the plz-out directory at the generated build rule:

```bash
$ cat plz-out/subrepos/third_party/go/github.com_stretchr_testify/assert/BUILD
Expand Down

0 comments on commit 86218e4

Please sign in to comment.