summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-23 18:08:01 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-23 18:08:01 -0800
commit65623d7d66c2ef4e3136ab90077ece988c451750 (patch)
tree69cf8955b0b96c82d517d3e945e325d5ab11970b /tasks
parent93fa57993f29788de862a248fe6dc45ecaae43b6 (diff)
parent6e72fb4781197e9231e794667ac9f83e1db429bd (diff)
downloadmruby-65623d7d66c2ef4e3136ab90077ece988c451750.tar.gz
mruby-65623d7d66c2ef4e3136ab90077ece988c451750.zip
Merge pull request #776 from carsonmcdonald/displaybuildinfo
Add build summary at the end of a build.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mruby_build.rake10
1 files changed, 10 insertions, 0 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake
index 711f7f024..08c0a5a05 100644
--- a/tasks/mruby_build.rake
+++ b/tasks/mruby_build.rake
@@ -146,6 +146,16 @@ module MRuby
sh "#{filename mrbtest}"
puts
end
+
+ def print_build_summary
+ puts "================================================"
+ puts " Config Name: #{@name}"
+ puts " Output Directory: #{self.build_dir}"
+ puts " Binaries: #{@bins.join(', ')}" unless @bins.empty?
+ puts " Included Gems: #{@gems.map{|g| g.name }.join(', ')}" unless @gems.empty?
+ puts "================================================"
+ puts
+ end
end # Build
class CrossBuild < Build