Sha256: c02a8adf93971bddbe2db328215aaf6c5676ab86bd03691169f939479dfbac64

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks


#
# Rspec
#

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec


#
# Yard
#

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end


#
# Misc.
#

desc "Start an irb console with TimeExt pre-loaded."
task :console do
  exec "irb -r spec/spec_helper"
end
task :c => :console

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
time_ext-0.2.9 Rakefile
time_ext-0.2.8 Rakefile