mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
Added the SWI Prolog (swipl) ecosystem (#3076)
* Add binary classifier for swipl Signed-off-by: Laurent Goderre <laurent.goderre@docker.com> * Added cataloger for SWI Prolog Pack packages Signed-off-by: Laurent Goderre <laurent.goderre@docker.com> --------- Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
This commit is contained in:
@@ -78,6 +78,10 @@ func TestLanguageFromPURL(t *testing.T) {
|
||||
purl: "pkg:swift/github.com/apple/swift-numerics/swift-numerics@1.0.2",
|
||||
want: Swift,
|
||||
},
|
||||
{
|
||||
purl: "pkg:swiplpack/conditon@0.1.1",
|
||||
want: Swipl,
|
||||
},
|
||||
{
|
||||
purl: "pkg:luarocks/kong@3.7.0",
|
||||
want: Lua,
|
||||
@@ -219,6 +223,10 @@ func TestLanguageByName(t *testing.T) {
|
||||
name: "swift",
|
||||
language: Swift,
|
||||
},
|
||||
{
|
||||
name: "swiplpack",
|
||||
language: Swipl,
|
||||
},
|
||||
{
|
||||
name: "pod",
|
||||
language: Swift,
|
||||
|
||||
Reference in New Issue
Block a user