Skip to content

Commit

Permalink
Add note about how packages are resolved (#222)
Browse files Browse the repository at this point in the history
In the main section it says that using `mint run` will run the latest version of a package which is installed. Then the Mintfile section says that you can use `mint run tool-name` which is the same as above and I was worried that it would run the latest version. (so I added note to clarify that the version would be resolved from the Mintfile)

We've got multiple projects over here and are using mint to install / manage package tools on our CI machines.
  • Loading branch information
regnerjr authored Oct 4, 2021
1 parent 5717287 commit 30101d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,14 @@ yonaskolb/[email protected]
yonaskolb/[email protected]
```

Then you can simply run a package with:
Then you can simply run a package using:

```sh
mint run xcodegen
```

Note that mint will find the version declared in your Mintfile and run that version, even if you have multiple versions installed.

Or install all the packages (without linking them globally) in one go with:

```sh
Expand Down

0 comments on commit 30101d2

Please sign in to comment.