LinuxCommandLibrary

pants

Fast, scalable, user-friendly, open-source build and developer workflow tool.

TLDR

List all targets

$ pants list ::
copy


Run all tests
$ pants test ::
copy


Fix, format, and lint only uncommitted files
$ pants --changed-since=HEAD fix fmt lint
copy


Typecheck only uncommitted files and their dependents
$ pants --changed-since=HEAD --changed-dependents=transitive check
copy


Create a distributable package for the specified target
$ pants package [path/to/directory:target-name]
copy


Auto-generate BUILD file targets for new source files
$ pants tailor ::
copy


Display help
$ pants help
copy

Copied to clipboard