Commit 5be33b82 authored by dearblue's avatar dearblue

Need `build/XXX/mrbgems/mruby-test` directory

An error may occur when performing `rake clean all` or `rake clean test`.

The directory is needed before writing to `mrbgems/mruby-test/assert.c`.
parent 2098acee
...@@ -26,6 +26,7 @@ MRuby::Gem::Specification.new('mruby-test') do |spec| ...@@ -26,6 +26,7 @@ MRuby::Gem::Specification.new('mruby-test') do |spec|
file assert_lib => assert_c file assert_lib => assert_c
file assert_c => [assert_rb, build.mrbcfile] do |t| file assert_c => [assert_rb, build.mrbcfile] do |t|
mkdir_p File.dirname(t.name)
open(t.name, 'w') do |f| open(t.name, 'w') do |f|
mrbc.run f, assert_rb, 'mrbtest_assert_irep' mrbc.run f, assert_rb, 'mrbtest_assert_irep'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment