mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Classify the .google_apis/ directory as vendored
This is used in Android projects that use certain Google SDKs to store the SDKs locally.
This commit is contained in:
@@ -251,3 +251,6 @@
|
|||||||
# ProGuard
|
# ProGuard
|
||||||
- proguard.pro
|
- proguard.pro
|
||||||
- proguard-rules.pro
|
- proguard-rules.pro
|
||||||
|
|
||||||
|
# Android Google APIs
|
||||||
|
- (^|/)\.google_apis/
|
||||||
|
|||||||
@@ -439,6 +439,9 @@ class TestBlob < Minitest::Test
|
|||||||
assert sample_blob("activator.bat").vendored?
|
assert sample_blob("activator.bat").vendored?
|
||||||
assert sample_blob("subproject/activator").vendored?
|
assert sample_blob("subproject/activator").vendored?
|
||||||
assert sample_blob("subproject/activator.bat").vendored?
|
assert sample_blob("subproject/activator.bat").vendored?
|
||||||
|
|
||||||
|
assert_predicate fixture_blob(".google_apis/bar.jar"), :vendored?
|
||||||
|
assert_predicate fixture_blob("foo/.google_apis/bar.jar"), :vendored?
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_documentation
|
def test_documentation
|
||||||
|
|||||||
Reference in New Issue
Block a user