Skip to content

Commit

Permalink
Fix docs link to pants_from_sources script. (Cherry-pick of pantsbuil…
Browse files Browse the repository at this point in the history
  • Loading branch information
benjyw authored May 22, 2023
1 parent 271df05 commit 126e0c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Or, if you're using a `./pants` runner script, you can instead use a special `./

This script expects to find a clone of the Pants repo, named `pants`, as a sibling directory of the one you're running in, and it will use the sources in that sibling to run Pants in the other repo, using that repo's config file and so on.

You can find an example of this script [here](https://github.com/pantsbuild/example-python/blob/main/pants_from_sources). To copy it into your repo, use
You can find an example of this script [here](https://github.com/pantsbuild/example-python/blob/2.14/pants_from_sources). To copy it into your repo, use

```
curl -L -O https://raw.githubusercontent.com/pantsbuild/example-python/main/pants_from_sources && \
curl -L -O https://raw.githubusercontent.com/pantsbuild/example-python/2.14/pants_from_sources && \
chmod +x pants_from_sources
```

0 comments on commit 126e0c3

Please sign in to comment.