diff options
author | Chris Schlaeger <chris@linux.com> | 2016-01-26 21:30:15 +0100 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2016-01-26 21:30:15 +0100 |
commit | ad10d7bc12eb171ebbb4b8acb8f06288df6bd877 (patch) | |
tree | 061a791f46092f3c71ad3bacca4292732d9fd796 /Rakefile | |
parent | fcb1cdaeb1c08d0e531ed8763780276bd2700b92 (diff) | |
download | postrunner-ad10d7bc12eb171ebbb4b8acb8f06288df6bd877.zip |
Showing METmax derived VO2max instead of the event log based VO2max value.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -1,8 +1,24 @@ +$:.unshift File.join(File.dirname(__FILE__)) + +# Add the lib directory to the search path if it isn't included already +lib = File.expand_path('../lib', __FILE__) +$:.unshift lib unless $:.include?(lib) + require "bundler/gem_tasks" require "rspec/core/rake_task" +require 'rake/clean' +require 'yard' +YARD::Rake::YardocTask.new -RSpec::Core::RakeTask.new +Dir.glob( 'tasks/*.rake').each do |fn| + begin + load fn; + rescue LoadError + puts "#{fn.split('/')[1]} tasks unavailable: #{$!}" + end +end -task :default => :spec +task :default => :spec task :test => :spec +desc 'Run all unit and spec tests' |