mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Expand tabs of include/ruby/ruby.h in MJIT header
rb_class_of is indented with tabs
This commit is contained in:
parent
3cf3427c99
commit
c4e3d9e953
1 changed files with 7 additions and 2 deletions
|
@ -8,7 +8,12 @@
|
|||
|
||||
require 'fileutils'
|
||||
|
||||
# These files have no hard tab indentations. Skip normalizing these files.
|
||||
EXPAND_TARGETS = %w[
|
||||
vm*.*
|
||||
include/ruby/ruby.h
|
||||
]
|
||||
|
||||
# These files have no hard tab indentations. Skip normalizing these files from the glob result.
|
||||
SKIPPED_FILES = %w[
|
||||
vm_callinfo.h
|
||||
vm_debug.h
|
||||
|
@ -17,7 +22,7 @@ SKIPPED_FILES = %w[
|
|||
]
|
||||
|
||||
srcdir = File.expand_path('..', __dir__)
|
||||
targets = Dir.glob(File.join(srcdir, 'vm*.*')) - SKIPPED_FILES.map { |f| File.join(srcdir, f) }
|
||||
targets = EXPAND_TARGETS.flat_map { |t| Dir.glob(File.join(srcdir, t)) } - SKIPPED_FILES.map { |f| File.join(srcdir, f) }
|
||||
sources = {}
|
||||
mtimes = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue