Pants is a scalable build system for monorepos: codebases containing multiple projects—often using multiple programming languages and frameworks—in a single unified code repository.
Monorepos have many advantages, but they require appropriate tooling in order to scale. Pants provides this tooling.
Pants is designed for fast, consistent builds. Some noteworthy features include:
- Dependency modeling with minimal boilerplate.
- Fine-grained invalidation.
- Shared result caching.
- Concurrent execution.
- Remote execution.
- Unified interface for multiple tools and languages.
- Extensibility and customizability via a plugin API.
See here for details about the Pants engine.
Pants 1.x vs. 2.x
This documentation is for Pants 2.0, which is a ground-up redesign of Pants based on lessons from the past 10 years of development. See here for Pants v1 documentation, which includes support for Node, Go, Java, and Scala.
Updated 3 months ago