Skip to content

Commit

Permalink
Add io/console/size.rb from io/console etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Mar 27, 2018
1 parent 1443fd6 commit 35e67c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tool/sync_ruby
Expand Up @@ -53,8 +53,9 @@ class Sync
end

for file, target in EXT_FILES
if File.directory? "#{@source}/#{file}"
cp_r "#{@source}/#{file}", "#{@target}/lib/ruby/stdlib/", :verbose => true
if file !~ /.rb$/
mkdir_p "#{@source}/#{file}"
cp_r "#{@source}/#{file}", "#{@target}/lib/ruby/stdlib/#{target}/..", :verbose => true
else
cp_r "#{@source}/#{file}", "#{@target}/lib/ruby/stdlib/#{target}", :verbose => true
end
Expand Down
3 changes: 2 additions & 1 deletion tool/sync_ruby_files.rb
Expand Up @@ -83,5 +83,6 @@
'ext/fiddle/lib/fiddle.rb' => 'fiddle.rb',
'ext/fiddle/lib/fiddle' => 'fiddle',
'ext/ripper/lib/ripper' => 'ripper',
'ext/ripper/lib/ripper.rb' => 'ripper.rb'
'ext/ripper/lib/ripper.rb' => 'ripper.rb',
'ext/io/console/lib/console' => 'io/console'
}

0 comments on commit 35e67c6

Please sign in to comment.