1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Bundled gem extensions are out of scope of update-deps

This commit is contained in:
Nobuyoshi Nakada 2022-05-11 19:26:43 +09:00
parent 8290d76647
commit d5c5fcb80a
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -301,6 +301,7 @@ def read_make_deps(cwd)
deps = deps.scan(%r{[/0-9a-zA-Z._-]+})
deps.delete_if {|dep| /\.time\z/ =~ dep} # skip timestamp
next if /\.o\z/ !~ target.to_s
next if /\.bundle\// =~ target.to_s
next if /\A\./ =~ target.to_s # skip rules such as ".c.o"
#p [curdir, target, deps]
dir = curdir || dirstack.last