mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #1305 from neersighted/patch-1
Also ignore extern(al)
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
# Vendored dependencies
|
# Vendored dependencies
|
||||||
- thirdparty/
|
- thirdparty/
|
||||||
- vendors?/
|
- vendors?/
|
||||||
|
- extern(al)?/
|
||||||
|
|
||||||
# Debian packaging
|
# Debian packaging
|
||||||
- ^debian/
|
- ^debian/
|
||||||
|
|||||||
@@ -277,6 +277,10 @@ class TestBlob < Test::Unit::TestCase
|
|||||||
|
|
||||||
# 'thirdparty' directory
|
# 'thirdparty' directory
|
||||||
assert blob("thirdparty/lib/main.c").vendored?
|
assert blob("thirdparty/lib/main.c").vendored?
|
||||||
|
|
||||||
|
# 'extern(al)' directory
|
||||||
|
assert blob("extern/util/__init__.py").vendored?
|
||||||
|
assert blob("external/jquery.min.js").vendored?
|
||||||
|
|
||||||
# C deps
|
# C deps
|
||||||
assert blob("deps/http_parser/http_parser.c").vendored?
|
assert blob("deps/http_parser/http_parser.c").vendored?
|
||||||
|
|||||||
Reference in New Issue
Block a user