Add the Ocaml ecosystem (#3112)

Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
This commit is contained in:
Laurent Goderre
2024-09-10 10:35:18 -04:00
committed by GitHub
parent dafc6ad034
commit 9c2799e379
30 changed files with 3454 additions and 3 deletions
+8
View File
@@ -86,6 +86,10 @@ func TestLanguageFromPURL(t *testing.T) {
purl: "pkg:luarocks/kong@3.7.0",
want: Lua,
},
{
purl: "pkg:opam/ocaml-base-compiler@ 5.2.0",
want: OCaml,
},
}
var languages = strset.New()
@@ -227,6 +231,10 @@ func TestLanguageByName(t *testing.T) {
name: "swiplpack",
language: Swipl,
},
{
name: "opam",
language: OCaml,
},
{
name: "pod",
language: Swift,