Skip to content

Commit

Permalink
Fold target help into the help system. (pantsbuild#11022)
Browse files Browse the repository at this point in the history
Instead of it being the only help-related functionality
implemented as a standalone goal.

Also replaces `./pants goals` with `./pants help goals`,
and makes various other improvements to help, such as
not showing global option help when you just enter
`./pants help`, so that the usage message fits in a
single screen.

Addresses pantsbuild#10999.

[ci skip-rust]

[ci skip-build-wheels]
  • Loading branch information
benjyw authored Oct 22, 2020
1 parent a6e07ce commit 1b90250
Show file tree
Hide file tree
Showing 22 changed files with 444 additions and 714 deletions.
4 changes: 2 additions & 2 deletions build-support/bin/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ def run_check(command: List[str]) -> None:
die(f"Failed to execute `./pants {command}`.")

checks = [
["goals"],
["help", "goals"],
["list", "::"],
["roots"],
["target-types"],
["help", "targets"],
]
with travis_section("SmokeTest", "Smoke testing bootstrapped Pants and repo BUILD files"):
check_pants_pex_exists()
Expand Down
6 changes: 0 additions & 6 deletions src/python/pants/backend/pants_info/BUILD

This file was deleted.

Empty file.
287 changes: 0 additions & 287 deletions src/python/pants/backend/pants_info/list_target_types.py

This file was deleted.

Loading

0 comments on commit 1b90250

Please sign in to comment.