mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
8a72c77c79
as requested by devs, support for BASERUBY prior to 2.1 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
15 lines
304 B
Ruby
Executable file
15 lines
304 B
Ruby
Executable file
#!ruby
|
|
|
|
# This is used by Makefile.in to generate .inc files.
|
|
# See Makefile.in for details.
|
|
|
|
require_relative 'ruby_vm/scripts/insns2vm'
|
|
|
|
if $0 == __FILE__
|
|
router(ARGV).each do |(path, generator)|
|
|
str = generator.generate path
|
|
path.open 'wb:utf-8' do |fp|
|
|
fp.write str
|
|
end
|
|
end
|
|
end
|