Unverified Commit b1f1fe2f authored by Sebastián Katzer's avatar Sebastián Katzer Committed by GitHub

Fix task name is not necessarily a valid path

Errno::ENOENT: No such file or directory @ dir_s_mkdir - mruby:Z:/Documents
parent 17c9e656
......@@ -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
......
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