1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-10 10:25:24 +02:00
tldr/pages/common/pants.md
Managor a5833ce758
*: make more information links dynamic (#16244)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-23 10:24:12 +03:00

32 lines
691 B
Markdown

# pants
> Fast, scalable, user-friendly, open-source build and developer workflow tool.
> More information: <https://www.pantsbuild.org/stable/docs/using-pants/command-line-help>.
- List all targets:
`pants list ::`
- Run all tests:
`pants test ::`
- Fix, format, and lint only uncommitted files:
`pants --changed-since=HEAD fix fmt lint`
- Typecheck only uncommitted files and their dependents:
`pants --changed-since=HEAD --changed-dependents=transitive check`
- Create a distributable package for the specified target:
`pants package {{path/to/directory:target-name}}`
- Auto-generate BUILD file targets for new source files:
`pants tailor ::`
- Display help:
`pants help`