mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Recognize WTFPL-licensed grammars
This commit is contained in:
@@ -129,6 +129,8 @@ class TestGrammars < Minitest::Test
|
|||||||
"MIT"
|
"MIT"
|
||||||
elsif content.include?("unlicense.org")
|
elsif content.include?("unlicense.org")
|
||||||
"unlicense"
|
"unlicense"
|
||||||
|
elsif content.include?("http://www.wtfpl.net/txt/copying/")
|
||||||
|
"WTFPL"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user