mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add empty depend file if extconf.rb only exists
This commit is contained in:
parent
69a66e8a8b
commit
ac2866005b
1 changed files with 11 additions and 0 deletions
11
.travis.yml
11
.travis.yml
|
@ -345,6 +345,17 @@ env:
|
|||
before_install:
|
||||
install:
|
||||
before_script:
|
||||
- |-
|
||||
ruby -e 'new = []
|
||||
Dir.glob("ext/**/extconf.rb") {|ex|
|
||||
unless File.exist?(dep = File.dirname(ex)+"/depend")
|
||||
puts "Adding "+dep
|
||||
File.copy_stream("template/depend.tmpl", dep)
|
||||
new << dep
|
||||
end
|
||||
}
|
||||
exec("git", "add", *new) unless new.empty?'
|
||||
- git diff --cached
|
||||
- "> config.status"
|
||||
- "> .rbconfig.time"
|
||||
- sed -f tool/prereq.status template/Makefile.in common.mk > Makefile
|
||||
|
|
Loading…
Reference in a new issue