mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress detached head warnings [ci skip]
Check out the revisions for testing as "detached" from the beginning.
This commit is contained in:
parent
bfefaf47f0
commit
fbaa2f0b3b
1 changed files with 4 additions and 1 deletions
|
@ -324,7 +324,10 @@ $(srcdir)/gems/src/$(1): | $(srcdir)/gems/src
|
||||||
|
|
||||||
$(srcdir)/.bundle/gems/$(1)-$(2): | $(srcdir)/gems/src/$(1) .bundle/gems
|
$(srcdir)/.bundle/gems/$(1)-$(2): | $(srcdir)/gems/src/$(1) .bundle/gems
|
||||||
$(ECHO) Copying $(1)@$(3) to $$(@F)
|
$(ECHO) Copying $(1)@$(3) to $$(@F)
|
||||||
$(Q) $(CHDIR) "$(srcdir)/gems/src/$(1)" && $(GIT) fetch origin $(3) && $(GIT) checkout $(3)
|
$(Q) $(CHDIR) "$(srcdir)/gems/src/$(1)" && \
|
||||||
|
$(GIT) fetch origin $(3) && \
|
||||||
|
$(GIT) checkout --detach $(3) && \
|
||||||
|
:
|
||||||
$(Q) $(BASERUBY) -C "$(srcdir)" \
|
$(Q) $(BASERUBY) -C "$(srcdir)" \
|
||||||
-Itool/lib -rbundled_gem \
|
-Itool/lib -rbundled_gem \
|
||||||
-e 'BundledGem.copy("gems/src/$(1)/$(1).gemspec", ".bundle")'
|
-e 'BundledGem.copy("gems/src/$(1)/$(1).gemspec", ".bundle")'
|
||||||
|
|
Loading…
Reference in a new issue