summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-06 06:27:50 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-06 06:27:50 -0700
commitaa9a3380ee2bc3cb60e2988849888a963244f407 (patch)
treeb6dd43a816d81c7663d5fb369212b6cd9f3400b5 /tasks
parente885e59d4537f164b600d2fc579cc195cc8df76f (diff)
parent15871eb841847a79e7a23384e9ff82dcb01aa4e5 (diff)
downloadmruby-aa9a3380ee2bc3cb60e2988849888a963244f407.tar.gz
mruby-aa9a3380ee2bc3cb60e2988849888a963244f407.zip
Merge pull request #1116 from kurodash/pr-exclude-legal-from-archive
Modified build dependency to exclude 'LEGAL' from libmruby archive.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mrbgems.rake3
1 files changed, 1 insertions, 2 deletions
diff --git a/tasks/mrbgems.rake b/tasks/mrbgems.rake
index 1f3aa0811..c18a9a181 100644
--- a/tasks/mrbgems.rake
+++ b/tasks/mrbgems.rake
@@ -8,7 +8,7 @@ MRuby.each_target do
# loader all gems
self.libmruby << objfile("#{build_dir}/mrbgems/gem_init")
- file objfile("#{build_dir}/mrbgems/gem_init") => "#{build_dir}/mrbgems/gem_init.c"
+ file objfile("#{build_dir}/mrbgems/gem_init") => ["#{build_dir}/mrbgems/gem_init.c", "#{build_dir}/LEGAL"]
file "#{build_dir}/mrbgems/gem_init.c" => [MRUBY_CONFIG] do |t|
FileUtils.mkdir_p "#{build_dir}/mrbgems"
open(t.name, 'w') do |f|
@@ -42,7 +42,6 @@ MRuby.each_target do
end
# legal documents
- self.libmruby << "#{build_dir}/LEGAL"
file "#{build_dir}/LEGAL" => [MRUBY_CONFIG] do |t|
open(t.name, 'w+') do |f|
f.puts <<LEGAL