summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorCarson McDonald <[email protected]>2013-01-23 18:44:48 -0500
committerCarson McDonald <[email protected]>2013-01-23 18:44:48 -0500
commit6e72fb4781197e9231e794667ac9f83e1db429bd (patch)
tree02e6a6947ce4e7f0fd73dc5ac52944cd8ee0cd16 /Rakefile
parent538bbfc15f75b9fbde553d2466d4e39c50e5785a (diff)
downloadmruby-6e72fb4781197e9231e794667ac9f83e1db429bd.tar.gz
mruby-6e72fb4781197e9231e794667ac9f83e1db429bd.zip
Add build summary at the end of a build.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index f0991d323..7d8dd4117 100644
--- a/Rakefile
+++ b/Rakefile
@@ -42,7 +42,14 @@ depfiles += MRuby.targets.reject { |n, t| n == 'host' }.map { |n, t|
}.flatten
desc "build all targets, install (locally) in-repo"
-task :all => depfiles
+task :all => depfiles do
+ puts
+ puts "Build summary:"
+ puts
+ MRuby.each_target do
+ print_build_summary
+ end
+end
desc "run all mruby tests"
task :test => MRuby.targets.values.map { |t| t.exefile("#{t.build_dir}/test/mrbtest") } do