Fix dependencies.

parent a212428f
...@@ -164,10 +164,11 @@ MRuby::Gem::Specification.new('mruby-test') do |spec| ...@@ -164,10 +164,11 @@ MRuby::Gem::Specification.new('mruby-test') do |spec|
nil nil
end end
current_gem_list = build.gems.map(&:name).join("\n") current_gem_list = build.gems.map(&:name).join("\n")
if active_gem_list != current_gem_list task active_gems_path do |t|
File.write active_gems_path, current_gem_list FileUtils.mkdir_p File.dirname t.name
File.write t.name, current_gem_list
end end
file clib => active_gems_path file clib => active_gems_path if active_gem_list != current_gem_list
file mlib => clib file mlib => clib
file clib => [init, build.mrbcfile] do |t| file clib => [init, build.mrbcfile] do |t|
......
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