Permalink
Browse files

sort mrblib/*.rb files to compile (class.rb comes before error.rb); c…

…lose #1132; close #1134
  • Loading branch information...
1 parent 492688e commit 5de9a8cc50052db105ea8ba06d64b95cb1b57db1 @matz matz committed Apr 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mrblib/mrblib.rake
View
@@ -6,7 +6,7 @@ MRuby.each_target do
self.libmruby << objfile("#{current_build_dir}/mrblib")
file objfile("#{current_build_dir}/mrblib") => "#{current_build_dir}/mrblib.c"
- file "#{current_build_dir}/mrblib.c" => [mrbcfile] + Dir.glob("#{current_dir}/*.rb") do |t|
+ file "#{current_build_dir}/mrblib.c" => [mrbcfile] + Dir.glob("#{current_dir}/*.rb").sort do |t|
mrbc_, *rbfiles = t.prerequisites
FileUtils.mkdir_p File.dirname(t.name)
open(t.name, 'w') do |f|

0 comments on commit 5de9a8c

Please sign in to comment.