bottle: Ignore matches to source code
Ignore matches to source code, which is not required at run time. These matches may be caused by debugging symbols.
This commit is contained in:
parent
704e8570e5
commit
79b1d4178e
@ -342,7 +342,9 @@ module Homebrew
|
|||||||
prefix_check = prefix
|
prefix_check = prefix
|
||||||
end
|
end
|
||||||
|
|
||||||
ignores = []
|
# Ignore matches to source code, which is not required at run time.
|
||||||
|
# These matches may be caused by debugging symbols.
|
||||||
|
ignores = [%r{/include/|\.(c|cc|cpp|h|hpp)$}]
|
||||||
any_go_deps = f.deps.any? do |dep|
|
any_go_deps = f.deps.any? do |dep|
|
||||||
dep.name =~ Version.formula_optionally_versioned_regex(:go)
|
dep.name =~ Version.formula_optionally_versioned_regex(:go)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user