summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index f0991d323..6a04ef87c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -31,6 +31,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin|
install_path = MRuby.targets['host'].exefile("bin/#{bin}")
file install_path => MRuby.targets['host'].exefile("build/host/bin/#{bin}") do |t|
+ FileUtils.rm t.name, :force => true
FileUtils.cp t.prerequisites.first, t.name
end
@@ -42,7 +43,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