Skip to content

Commit

Permalink
Merge pull request #27 from rawleyfowler/main
Browse files Browse the repository at this point in the history
Add OCaml toolchain
  • Loading branch information
oalders authored Mar 5, 2024
2 parents 53666e0 + b7fba2e commit 18ddf02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ func CLIVersion(ctx *types.Context, cliName, output string) string {
"lua": fmt.Sprintf(`Lua (%s)\b`, floatRegex),
"md5sum": fmt.Sprintf(`md5sum \(GNU coreutils\) (%s)\b`, floatRegex),
"perl": fmt.Sprintf(`This is perl .* \((%s)\)\s`, vStringRegex),
"ocaml": fmt.Sprintf(`The OCaml toplevel, version (%s)`, semverRegex),
"opam": fmt.Sprintf(`(%s)`, semverRegex),
"openssl": fmt.Sprintf(`SSL (%s)\b`, floatWithTrailingLetterRegex),
"pihole": fmt.Sprintf(`Pi-hole version is (%s)`, vStringRegex),
"plenv": `plenv ([\d\w\-\.]*)\b`,
Expand Down
2 changes: 2 additions & 0 deletions parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ This program built for i386-apple-darwin11.3.0`},
{"md5sum", "9.3", "md5sum (GNU coreutils) 9.3"},
{"node", "v20.2.0", "v20.2.0"},
{"npx", "9.6.6", "9.6.6"},
{"ocaml", "5.1.0", "The OCaml toplevel, version 5.1.0"},
{"opam", "2.1.5", "2.1.5"},
{"openssl", "3.3.6", "LibreSSL 3.3.6"},
{"openssl", "1.1.1f", "OpenSSL 1.1.1f 31 Mar 2020"},
{
Expand Down

0 comments on commit 18ddf02

Please sign in to comment.