- Getting Started
- Installing Pants
- Setting Up Pants
- Tutorial
- Common Tasks
- Pants for Organizations
- Pants Basics
- Why Use Pants?
- Pants Concepts
- BUILD files
- Target Addresses
- Third-Party Dependencies
- Pants Options
- Invoking Pants
- Reporting Server
- IDE Support
- JVM Support
- Python Support
- Go support for Pants
- Node.js Support
- Code & Doc Generation
- Thrift
- Python gRPC + protobufs
- Markdown
- Getting Help
- Troubleshooting
- Community
- Reference
- Pants BUILD Dictionary
- Pants Reference
- Release Notes
- Developer
- Pants Developer Center
- Export Format
- Architecture
- Blogs
- Twitter's Coursier Migration
Common Tasks
This section of the Pants documentation describes the most common day-to-day Pants tasks, from defining a Python executable to opening up a Scala REPL and much more.
Tasks
General
- List Available Targets
- List All Pants Goals
- Get an Overview of Your Recent Pants Activity
- Add a Dependency on Another Target
- Create an Alias for a Target
- Create a Target Aggregate
- Pass Command-line Arguments to an Executable
- Clean Cached Pants Artifacts
- Run a Binary Target
- Create a Bundled zip or Other Archive
- Create a Resource Bundle
- Use globs to group files
- Access a REPL for a Target
- Generate Code from Thrift Definitions
- Authenticate to a Server
Scala and Java
- Create a New Scala or Java Library Target
- Compile a JVM Target
- Define a JVM Executable
- Specify a File Bundle
- Specify JVM Options
- Define a Test Suite for Scala or Java
- Run JVM binaries and tests with different JVM versions
Python
Testing
Generated by publish_docs
from dist/markdown/html/src/docs/common_tasks/index.html 2022-12-03T01:08:59.437000
