summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authortake-cheeze <[email protected]>2018-06-20 18:20:26 +0900
committertake-cheeze <[email protected]>2018-06-20 18:20:26 +0900
commite050cfb349ba11f7962df70dbff953daf456b68e (patch)
treed20aa72f0173d596906cdc96f18594c9128341b8 /tasks
parent5e7ced0785790a3070bc81e8b2fd2326151c31b9 (diff)
downloadmruby-e050cfb349ba11f7962df70dbff953daf456b68e.tar.gz
mruby-e050cfb349ba11f7962df70dbff953daf456b68e.zip
Add forgotten `mkdir_p`s.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/libmruby.rake1
-rw-r--r--tasks/mrbgems.rake1
2 files changed, 2 insertions, 0 deletions
diff --git a/tasks/libmruby.rake b/tasks/libmruby.rake
index 540aa3eb5..b6ef29986 100644
--- a/tasks/libmruby.rake
+++ b/tasks/libmruby.rake
@@ -4,6 +4,7 @@ MRuby.each_target do
end
file "#{build_dir}/lib/libmruby.flags.mak" => [__FILE__, libfile("#{build_dir}/lib/libmruby")] do |t|
+ FileUtils.mkdir_p File.dirname t.name
open(t.name, 'w') do |f|
f.puts "MRUBY_CFLAGS = #{cc.all_flags}"
diff --git a/tasks/mrbgems.rake b/tasks/mrbgems.rake
index 1b964524c..64e5b0353 100644
--- a/tasks/mrbgems.rake
+++ b/tasks/mrbgems.rake
@@ -53,6 +53,7 @@ MRuby.each_target do
# legal documents
file "#{build_dir}/LEGAL" => [MRUBY_CONFIG, __FILE__] do |t|
+ FileUtils.mkdir_p File.dirname t.name
open(t.name, 'w+') do |f|
f.puts <<LEGAL
Copyright (c) #{Time.now.year} mruby developers