You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release adds support for running Pants from a local Pants clone. This is useful for testing out
unreleased Pants changes.
This feature used to be provided by a bespoke pants_from_sources script copied around to various
repositories; an example of which is here.
There are two ways to activate this mode:
Execute pants with the PANTS_SOURCE environment variable set as the path to the Pants repo
whose Pants code you'd like to run against your repo.
Copy, hardlink or symlink your pants binary to pants_from_sources and execute that.
The first activation method is new. The second mode follows the bespoke ./pants_from_sources
conventions and assumes PANTS_SOURCE=../pants. You can override that by setting thePANTS_SOURCE
env var as in the first activation method.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
0.3.0
This release adds support for running Pants from a local Pants clone. This is useful for testing out
unreleased Pants changes.
This feature used to be provided by a bespoke
pants_from_sourcesscript copied around to variousrepositories; an example of which is here.
There are two ways to activate this mode:
pantswith thePANTS_SOURCEenvironment variable set as the path to the Pants repowhose Pants code you'd like to run against your repo.
pantsbinary topants_from_sourcesand execute that.The first activation method is new. The second mode follows the bespoke
./pants_from_sourcesconventions and assumes
PANTS_SOURCE=../pants. You can override that by setting thePANTS_SOURCEenv var as in the first activation method.
This discussion was created from the release scie-pants 0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions