Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pixi #9

Merged
merged 4 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .prototools
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ninja = "1.11.1"
octopus = "2.2.1"
oxlint = "0.2.12"
pact_verifier_cli = "1.1.1"
pixi = "0.25.0"
rattler-build = "0.13.0"
ruff = "0.3.0"
shellcheck = "0.10.0"
Expand Down Expand Up @@ -61,6 +62,7 @@ ninja = "source:ninja/plugin.toml"
octopus = "source:octopus/plugin.toml"
oxlint = "source:oxlint/plugin.toml"
pact_verifier_cli = "source:pact_verifier_cli/plugin.toml"
pixi = "source:pixi/plugin.toml"
rattler-build = "source:rattler-build/plugin.toml"
ruff = "source:ruff/plugin.toml"
shellcheck = "source:shellcheck/plugin.toml"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ A growing collection of proto TOML plugins.
- [oxlint](oxlint/README.md)
- [Octopus CLI](octopus/README.md)
- [Pact Verifier CLI](pact_verifier_cli/README.md)
- [Pixi](pixi/README.md)
- [rattler-build](rattler-build/README.md)
- [Ruff](ruff/README.md)
- [ShellCheck](shellcheck/README.md)
Expand Down
21 changes: 21 additions & 0 deletions pixi/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# pixi plugin

[pixi](https://github.com/prefix-dev/pixi) plugin for [proto](https://github.com/moonrepo/proto).

## Installation

This is a community plugin and is thus not built-in to proto. In order to use it, first either add it to your global or project-based `.prototools` by running:

### Global install

```shell
proto plugin add pixi "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/pixi/plugin.toml" --global
proto install pixi
```

### Per-project install

```shell
proto plugin add pixi "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/pixi/plugin.toml"
proto pin pixi latest --resolve
```
17 changes: 17 additions & 0 deletions pixi/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name = "pixi"
type = "cli"

[resolve]
git-url = "https://github.com/prefix-dev/pixi"

[platform.linux]
download-file = "pixi-{arch}-unknown-linux-musl.tar.gz"

[platform.macos]
download-file = "pixi-{arch}-apple-darwin.tar.gz"

[platform.windows]
download-file = "pixi-{arch}-pc-windows-msvc.zip"

[install]
download-url = "https://github.com/prefix-dev/pixi/releases/download/v{version}/{download_file}"