diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-12-27 18:35:19 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-27 18:35:19 +0900 |
| commit | d2f34a845514d45e9651a87d445e2d1bdabe680a (patch) | |
| tree | 71e9536f151dc2e6303948a13d5d72b067406d19 /mrblib | |
| parent | 03244b52a0624e823ae5e338ecf72a868da08ef2 (diff) | |
| parent | 26e6e75ba6a59bc77c80a6ce5d207626cfed91a6 (diff) | |
| download | mruby-d2f34a845514d45e9651a87d445e2d1bdabe680a.tar.gz mruby-d2f34a845514d45e9651a87d445e2d1bdabe680a.zip | |
Merge pull request #4910 from shuujii/use-Rake-DSL-instead-of-commands-of-FileUtils
Use Rake DSL instead of commands of `FileUtils`
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/mrblib.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrblib/mrblib.rake b/mrblib/mrblib.rake index e96decb27..6fba0adc1 100644 --- a/mrblib/mrblib.rake +++ b/mrblib/mrblib.rake @@ -8,7 +8,7 @@ MRuby.each_target do file objfile("#{current_build_dir}/mrblib") => "#{current_build_dir}/mrblib.c" file "#{current_build_dir}/mrblib.c" => [mrbcfile, __FILE__] + Dir.glob("#{current_dir}/*.rb").sort do |t| _, _, *rbfiles = t.prerequisites - FileUtils.mkdir_p File.dirname(t.name) + mkdir_p File.dirname(t.name) open(t.name, 'w') do |f| _pp "GEN", "*.rb", "#{t.name.relative_path}" f.puts File.read("#{current_dir}/init_mrblib.c") |
