Skip to content

Commit

Permalink
Change the advice in the README to use supertd audit`
Browse files Browse the repository at this point in the history
Summary: Consistent and means we don't need to list the flags again.

Reviewed By: aniketmathur

Differential Revision: D55204646

fbshipit-source-id: 69e96553581c2535b16957a3e7076cde1856a0dd
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Mar 22, 2024
1 parent 5164efe commit e3eb760
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions btd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ information. It will do so using either `buck2` on the `$PATH` or, if specified,
the binary passed with `--buck2`. Alternatively, you can provide the cell-level
configuration with the flags:

- `--cells ~/data/cells.json` is the output of `buck2 audit cell --json` in the
root of the repo.
- `--config ~/data/config.json` is the output of
`buck2 audit config --json --all-cells buildfile.name buildfile.name_v2` in
the root of the repo. If `--cells` is present but `--config` is absent then
BTD will use the Buck2 default values for these fields, namely `BUCK.v2` and
`BUCK` as the buildfile name.
- `--cells ~/data/cells.json` is the output of `supertd audit cell` in the root
of the repo.
- `--config ~/data/config.json` is the output of `supertd audit config` in the
root of the repo. If `--cells` is present but `--config` is absent then BTD
will use the Buck2 default values for all `.buckconfig` settings.

## When to use BTD

Expand Down

0 comments on commit e3eb760

Please sign in to comment.