Skip to content

Commit

Permalink
feat: 🎸 add mise plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kahirokunn committed Jun 13, 2024
1 parent dc3a327 commit 1fec0fb
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
21 changes: 21 additions & 0 deletions mise/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# mise plugin

[mise](https://misecli.io) 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 mise "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/main/mise/plugin.toml" --global
proto install mise
```

### Per-project install

```shell
proto plugin add mise "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/main/mise/plugin.toml"
proto pin mise latest --resolve
```
28 changes: 28 additions & 0 deletions mise/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# A TOML plugin for k9s:
# https://moonrepo.dev/docs/proto/plugins#toml-plugin

name = "mise"
type = "cli"

[platform.linux]
download-file = "mise-v{version}-linux-{arch}"
checksum-file = "SHASUMS256.txt"

[platform.macos]
download-file = "mise-v{version}-macos-{arch}"
checksum-file = "SHASUMS256.txt"

[platform.windows]
download-file = "mise-v{version}-win-{arch}.zip"
checksum-file = "SHASUMS256.txt"

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

[install.arch]
aarch64 = "arm64"
x86_64 = "x64"
armv7 = "armv7"

[resolve]
git-url = "https://github.com/jdx/mise"

0 comments on commit 1fec0fb

Please sign in to comment.