summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormattn <[email protected]>2013-01-11 19:44:01 +0900
committermattn <[email protected]>2013-01-11 19:44:01 +0900
commitb0beaadcb0513eb187bf7a9d695b259b867d055c (patch)
tree9782a7d1e622ca8edd46f97b428c503bf9f01900
parent28b4eac531fbd018f2ed1ae69d9ce20a4cf71514 (diff)
downloadmruby-b0beaadcb0513eb187bf7a9d695b259b867d055c.tar.gz
mruby-b0beaadcb0513eb187bf7a9d695b259b867d055c.zip
should be flatten.
-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