Unverified Commit ea435f99 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4067 from katzer/patch-1

[mruby-test] Fix task name is not necessarily a valid path
parents 17c9e656 b1f1fe2f
...@@ -164,9 +164,9 @@ MRuby::Gem::Specification.new('mruby-test') do |spec| ...@@ -164,9 +164,9 @@ 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")
task active_gems_path do |t| task active_gems_path do |_t|
FileUtils.mkdir_p File.dirname t.name FileUtils.mkdir_p File.dirname(active_gems_path)
File.write t.name, current_gem_list File.write active_gems_path, current_gem_list
end end
file clib => active_gems_path if active_gem_list != current_gem_list file clib => active_gems_path if active_gem_list != current_gem_list
......
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