Sha256: 7983afac914c812289b46eb4d6b1842b549fa607558fd02ab8a9b33dfee9b335

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

require "bundler/gem_tasks"
require 'rspec'
require 'rspec/core/rake_task'

desc "Run only unit test examples"
RSpec::Core::RakeTask.new do |t|
  t.pattern = 'spec/unit/**/*_spec.rb'
end

desc "Run only integration test examples"
RSpec::Core::RakeTask.new(:'spec:integration') do |t|
  t.pattern = 'spec/integration/**/*_spec.rb'
end

desc "Run all test examples including integration tests"
RSpec::Core::RakeTask.new(:'spec:all') do |t|
  t.pattern = 'spec/**/*_spec.rb'
end

task :default => :spec

require 'rdoc/task'
RDoc::Task.new do |rdoc|
  rdoc.main = "README.rdoc"
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "easytobookr"
  rdoc.rdoc_files.include('README*', 'lib/**/*.rb')
end

desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -I lib -r easytobookr.rb"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easytobookr-0.0.1 Rakefile