mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update source code URI in bundled_gems [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc1ecab084
commit
157b1090c1
1 changed files with 4 additions and 4 deletions
|
@ -1249,11 +1249,11 @@ extract-gems: PHONY
|
|||
update-bundled_gems: PHONY
|
||||
$(Q) $(RUNRUBY) -rrubygems \
|
||||
-pla \
|
||||
-e '$$_=Gem::SpecFetcher.fetcher.detect(:latest) {'"|s|" \
|
||||
-e 'if s.platform=="ruby"&&s.name==$$F[0]' \
|
||||
-e 'break [s.name, s.version, *$$F[2..-1]].join(" ")' \
|
||||
-e 'end' \
|
||||
-e '(gem,src), = Gem::SpecFetcher.fetcher.detect(:latest) {'"|s|" \
|
||||
-e 's.platform=="ruby"&&s.name==$$F[0]' \
|
||||
-e '}' \
|
||||
-e 'gem = src.fetch_spec(gem)' \
|
||||
-e '$$_ = [gem.name, gem.version, gem.metadata["source_code_uri"]||gem.homepage].join(" ")' \
|
||||
"$(srcdir)/gems/bundled_gems" | \
|
||||
"$(IFCHANGE)" "$(srcdir)/gems/bundled_gems" -
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue