mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed an Errno::ENOENT with non-test libraries
This commit is contained in:
parent
a396bef8d8
commit
478f6e2b34
1 changed files with 3 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
|||
# * https://github.com/ruby/racc
|
||||
# * https://github.com/ruby/singleton
|
||||
# * https://github.com/ruby/open3
|
||||
# * https://github.com/ruby/getoptlong
|
||||
#
|
||||
|
||||
require 'fileutils'
|
||||
|
@ -77,6 +78,7 @@ $repositories = {
|
|||
racc: "ruby/racc",
|
||||
singleton: "ruby/singleton",
|
||||
open3: "ruby/open3",
|
||||
getoptlong: "ruby/getoptlong",
|
||||
}
|
||||
|
||||
def sync_default_gems(gem)
|
||||
|
@ -295,7 +297,7 @@ def sync_lib(repo)
|
|||
else
|
||||
"test/test_#{repo}.rb"
|
||||
end
|
||||
cp_r("../#{repo}/#{tests}", "test")
|
||||
cp_r("../#{repo}/#{tests}", "test") if File.exist?("../#{repo}/#{tests}")
|
||||
gemspec = if File.directory?("lib/#{repo}")
|
||||
"lib/#{repo}/#{repo}.gemspec"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue