Merge pull request #4067 from katzer/patch-1

[mruby-test] Fix task name is not necessarily a valid path
This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-07-09 08:19:12 +09:00
committed by GitHub
+3 -3
View File
@@ -164,9 +164,9 @@ MRuby::Gem::Specification.new('mruby-test') do |spec|
nil
end
current_gem_list = build.gems.map(&:name).join("\n")
task active_gems_path do |t|
FileUtils.mkdir_p File.dirname t.name
File.write t.name, current_gem_list
task active_gems_path do |_t|
FileUtils.mkdir_p File.dirname(active_gems_path)
File.write active_gems_path, current_gem_list
end
file clib => active_gems_path if active_gem_list != current_gem_list