From f7964df0b61f51657155173413529928dc829241 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Thu, 6 Jun 2013 14:55:53 +0400 Subject: [PATCH] Same run stats --- lib/rake_control/wrapper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rake_control/wrapper.rb b/lib/rake_control/wrapper.rb index a316868..b90fe27 100644 --- a/lib/rake_control/wrapper.rb +++ b/lib/rake_control/wrapper.rb @@ -40,6 +40,7 @@ module RakeControl end def save_statistics + Run.create(name: name, success: success, execution_time: execution_time) if defined?(Run) puts "Task #{name} #{success ? 'finished successfully' : 'failed'}" puts "Execution time: #{execution_time.round(4)}" end