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

exts.mk.tmpl: note footer [ci skip]

* template/exts.mk.tmpl: place note footer message at the end.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-03-31 07:34:47 +00:00
parent cdaf6db096
commit c527fa1341

View file

@ -49,7 +49,9 @@ Dir.glob("{ext,gems}/*/exts.mk") do |e|
deps << $& deps << $&
end end
s.scan(%r"^note:\n((?:\t.+\n)+)") do |(n)| s.scan(%r"^note:\n((?:\t.+\n)+)") do |(n)|
note |= n.split(/^/) n = n.split(/^/)
note.pop if n[-1] == note[-1]
note |= n
end end
end end
deps.uniq! deps.uniq!