summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-12-27 18:35:19 +0900
committerGitHub <[email protected]>2019-12-27 18:35:19 +0900
commitd2f34a845514d45e9651a87d445e2d1bdabe680a (patch)
tree71e9536f151dc2e6303948a13d5d72b067406d19 /mrbgems/mruby-compiler
parent03244b52a0624e823ae5e338ecf72a868da08ef2 (diff)
parent26e6e75ba6a59bc77c80a6ce5d207626cfed91a6 (diff)
downloadmruby-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 'mrbgems/mruby-compiler')
-rw-r--r--mrbgems/mruby-compiler/mrbgem.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/mrbgem.rake b/mrbgems/mruby-compiler/mrbgem.rake
index fa191e69b..2118ef433 100644
--- a/mrbgems/mruby-compiler/mrbgem.rake
+++ b/mrbgems/mruby-compiler/mrbgem.rake
@@ -26,7 +26,7 @@ MRuby::Gem::Specification.new 'mruby-compiler' do |spec|
# Parser
file "#{current_build_dir}/core/y.tab.c" => ["#{current_dir}/core/parse.y", lex_def] do |t|
- FileUtils.mkdir_p File.dirname t.name
+ mkdir_p File.dirname t.name
yacc.run t.name, t.prerequisites.first
end