summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-11 05:51:57 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-11 05:51:57 -0800
commit453946971319b07952ec77ca5f4a27f0411fae17 (patch)
tree4e25ded18b7a743a73a1b0b57f8ae630124f1a03
parent1746a83cb7619bd0342b7e00dbed7bb496e69717 (diff)
parentb0beaadcb0513eb187bf7a9d695b259b867d055c (diff)
downloadmruby-453946971319b07952ec77ca5f4a27f0411fae17.tar.gz
mruby-453946971319b07952ec77ca5f4a27f0411fae17.zip
Merge pull request #726 from mattn/fix_build_tasks
Fix build tasks
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index f522c808b..776768045 100644
--- a/Rakefile
+++ b/Rakefile
@@ -37,9 +37,9 @@ depfiles = MRuby.targets['host'].bins.map do |bin|
install_path
end
-depfiles += MRuby.targets.reject {|n,t| n == 'host' }.map do |n, t|
+depfiles += MRuby.targets.reject {|n,t| n == 'host' }.map { |n, t|
["#{t.build_dir}/lib/libmruby.a"] + t.bins.map { |bin| exefile("#{t.build_dir}/bin/#{bin}") }
-end
+}.flatten
desc "build all targets, install (locally) in-repo"
task :all => depfiles