Skip to content

Commit

Permalink
Add Wizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Phault committed Mar 9, 2024
1 parent f1cb10e commit c24ffb0
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .prototools
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ task = "3.35.1"
traefik = "2.11.0"
trufflehog = "3.69.0"
uv = "0.1.13"
wizer = "4.0.0"

[plugins]
act = "source:act/plugin.toml"
Expand Down Expand Up @@ -63,6 +64,7 @@ task = "source:task/plugin.toml"
traefik = "source:traefik/plugin.toml"
trufflehog = "source:trufflehog/plugin.toml"
uv = "source:uv/plugin.toml"
wizer = "source:wizer/plugin.toml"

[settings]
# disabled to avoid polluting their data with our testing / CI runs
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ A growing collection of proto TOML plugins.
- [Traefik](traefik/README.md)
- [TruffleHog](trufflehog/README.md)
- [uv](uv/README.md)
- [Wizer](wizer/README.md)

## See also

Expand Down
21 changes: 21 additions & 0 deletions wizer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Wizer plugin

[Wizer](https://github.com/bytecodealliance/wizer) 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 wizer "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/wizer/plugin.toml" --global
proto install wizer
```

### Per-project install

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

[resolve]
git-url = "https://github.com/bytecodealliance/wizer"

[platform.linux]
download-file = "wizer-v{version}-{arch}-linux.tar.xz"
archive-prefix = "wizer-v{version}-{arch}-linux"

[platform.macos]
download-file = "wizer-v{version}-{arch}-macos.tar.xz"
archive-prefix = "wizer-v{version}-{arch}-macos"

[platform.windows]
download-file = "wizer-v{version}-{arch}-windows.zip"
archive-prefix = "wizer-v{version}-{arch}-windows"

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

0 comments on commit c24ffb0

Please sign in to comment.