Skip to content

Commit

Permalink
Merge pull request #11 from davispuh/tabs_to_spaces
Browse files Browse the repository at this point in the history
Replace tabs to spaces
  • Loading branch information
davispuh committed Nov 3, 2019
2 parents 7262c8a + fd0df2c commit daadf48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ffi-compiler/compile_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ def define_task!
obj_files = []
@source_dirs.each do |dir|
files = FileList["#{dir}/**/*.{c,cpp}"]
unless @exclude.empty?
files.delete_if { |f| f =~ Regexp.union(*@exclude) }
end
unless @exclude.empty?
files.delete_if { |f| f =~ Regexp.union(*@exclude) }
end
src_files += files
obj_files += files.ext('.o').map { |f| File.join(out_dir, f.sub(/^#{dir}\//, '')) }
end
end

index = 0
src_files.each do |src|
Expand Down

0 comments on commit daadf48

Please sign in to comment.