mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Adding some more vendered expressions
* `Vendor/`, the capitalized path * Crashlytics, a common iOS framework * Fabric, a common iOS framework
This commit is contained in:
@@ -70,6 +70,7 @@
|
|||||||
- 3rd[-_]?party/
|
- 3rd[-_]?party/
|
||||||
- vendors?/
|
- vendors?/
|
||||||
- extern(al)?/
|
- extern(al)?/
|
||||||
|
- (^|/)[Vv]+endor/
|
||||||
|
|
||||||
# Debian packaging
|
# Debian packaging
|
||||||
- ^debian/
|
- ^debian/
|
||||||
@@ -172,6 +173,13 @@
|
|||||||
# Sparkle
|
# Sparkle
|
||||||
- (^|/)Sparkle/
|
- (^|/)Sparkle/
|
||||||
|
|
||||||
|
# Crashlytics
|
||||||
|
- Crashlytics.framework/
|
||||||
|
|
||||||
|
# Fabric
|
||||||
|
- Fabric.framework/
|
||||||
|
|
||||||
|
|
||||||
## Groovy ##
|
## Groovy ##
|
||||||
|
|
||||||
# Gradle
|
# Gradle
|
||||||
|
|||||||
@@ -279,6 +279,9 @@ class TestBlob < Minitest::Test
|
|||||||
# Rails vendor/
|
# Rails vendor/
|
||||||
assert sample_blob("vendor/plugins/will_paginate/lib/will_paginate.rb").vendored?
|
assert sample_blob("vendor/plugins/will_paginate/lib/will_paginate.rb").vendored?
|
||||||
|
|
||||||
|
# Vendor/
|
||||||
|
assert sample_blob("Vendor/my_great_file.h").vendored?
|
||||||
|
|
||||||
# 'thirdparty' directory
|
# 'thirdparty' directory
|
||||||
assert sample_blob("thirdparty/lib/main.c").vendored?
|
assert sample_blob("thirdparty/lib/main.c").vendored?
|
||||||
|
|
||||||
@@ -480,6 +483,12 @@ class TestBlob < Minitest::Test
|
|||||||
|
|
||||||
# Vagrant
|
# Vagrant
|
||||||
assert sample_blob("puphpet/file.pp").vendored?
|
assert sample_blob("puphpet/file.pp").vendored?
|
||||||
|
|
||||||
|
# Fabric.io
|
||||||
|
assert sample_blob("Fabric.framework/Fabric.h").vendored?
|
||||||
|
|
||||||
|
# Crashlytics
|
||||||
|
assert sample_blob("Crashlytics.framework/Crashlytics.h").vendored?
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_documentation
|
def test_documentation
|
||||||
|
|||||||
Reference in New Issue
Block a user