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
headius committed Mar 27, 2018

Verified

This commit was signed with the committer’s verified signature.
headius Charles Oliver Nutter
1 parent 1443fd6 commit 35e67c6
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tool/sync_ruby
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion tool/sync_ruby_files.rb
Original file line number Diff line number Diff line change
@@ -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.