brainy-photographer-16204
09/10/2021, 9:04 PMTo set up Pants in your repo, we recommend installing our self-containedbash script in the root (i.e. the "build root") of your repo:pants
curl -L -O https://pantsbuild.github.io/setup/pants && chmod +x pants
To verify that Pants bootstraps correctly, run:
./pants --versionThat first command installs pants v2 - and then
./pants --version
yells at me because I don't have a pants.toml
file with the version in it.hundreds-father-404
09/10/2021, 9:09 PMprintf '[GLOBAL]\npants_version = "1.30.4"\n' > pants.toml
Then ./pants --version
should workbrainy-photographer-16204
09/10/2021, 9:13 PMhundreds-father-404
09/10/2021, 9:27 PM