Skip to content

Commit

Permalink
docs: add vfox to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Oct 25, 2024
1 parent 2b518f9 commit ba01ad6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ editLink: false
| powershell-core | [asdf:daveneeley/asdf-powershell-core](https://github.com/daveneeley/asdf-powershell-core) |
| pre-commit | [asdf:jonathanmorley/asdf-pre-commit](https://github.com/jonathanmorley/asdf-pre-commit) |
| promtool | [asdf:asdf-community/asdf-promtool](https://github.com/asdf-community/asdf-promtool) |
| protobuf | [vfox:ahai-code/vfox-protobuf](https://github.com/ahai-code/vfox-protobuf) |
| protoc | [asdf:paxosglobal/asdf-protoc](https://github.com/paxosglobal/asdf-protoc) |
| protoc-gen-connect-go | [asdf:dylanrayboss/asdf-protoc-gen-connect-go](https://github.com/dylanrayboss/asdf-protoc-gen-connect-go) |
| protoc-gen-go | [asdf:pbr0ck3r/asdf-protoc-gen-go](https://github.com/pbr0ck3r/asdf-protoc-gen-go) |
Expand Down Expand Up @@ -757,6 +758,7 @@ editLink: false
| viddy | [asdf:ryodocx/asdf-viddy](https://github.com/ryodocx/asdf-viddy) |
| vim | [asdf:tsuyoshicho/asdf-vim](https://github.com/tsuyoshicho/asdf-vim) |
| virtualos | [asdf:tuist/asdf-virtualos](https://github.com/tuist/asdf-virtualos) |
| vlang | [vfox:ahai-code/vfox-vlang](https://github.com/ahai-code/vfox-vlang) |
| vlt | [asdf:asdf-community/asdf-hashicorp](https://github.com/asdf-community/asdf-hashicorp) |
| vultr-cli | [asdf:ikuradon/asdf-vultr-cli](https://github.com/ikuradon/asdf-vultr-cli) |
| wasi-sdk | [asdf:coolreader18/asdf-wasi-sdk](https://github.com/coolreader18/asdf-wasi-sdk) |
Expand Down
4 changes: 2 additions & 2 deletions scripts/render-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { execSync } = require("node:child_process");
const fs = require("node:fs");

process.env.MISE_ASDF = 1;
process.env.MISE_VFOX = 0;
process.env.MISE_VFOX = 1;

const stdout = execSync("mise registry", { encoding: "utf-8" });
// Regular expression to match plugin name and repository URL
Expand All @@ -23,7 +23,7 @@ editLink: false

output.push("| Short | Full |\n| ----------- | --------------- |");
while ((match = regex.exec(stdout)) !== null) {
if (match[2] === "asdf") {
if (match[2] === "asdf" || match[2] === "vfox") {
let repoUrl = match[3].replace(/\.git$/, "");
if (!repoUrl.startsWith("http")) {
repoUrl = `https://github.com/${repoUrl}`;
Expand Down

0 comments on commit ba01ad6

Please sign in to comment.