Sha256: 45adaf24af3e31622ac51905145c7e1f901e924f64d7885a7927ec5871f02ba8

Contents?: true

Size: 1001 Bytes

Versions: 26

Compression:

Stored size: 1001 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

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

# Delegate spec task task to spec:all to run all specs.
task :spec => 'spec:all'

desc 'Run all specs'
namespace :spec do

  desc 'Run all msgr specs and all integration specs.'
  task :all => [ :msgr, :integration ]

  desc 'Run all unit specs.'
  RSpec::Core::RakeTask.new(:msgr) do |t|
    t.ruby_opts = '-Ispec/support -rsetup -Ispec/msgr'
    t.pattern = 'spec/msgr/**/*_spec.rb'
  end

  desc 'Run all integration specs.'
  RSpec::Core::RakeTask.new(:integration) do |t|
    t.ruby_opts = '-Ispec/support -rsetup -Ispec/integration'
    t.pattern = 'spec/integration/**/*_spec.rb'
  end
end

begin
  require 'yard'
  require 'yard/rake/yardoc_task'

  YARD::Rake::YardocTask.new do |t|
    t.files = %w(lib/**/*.rb)
    t.options = %w(--output-dir doc/)
  end
rescue LoadError
  nil
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
msgr-0.15.2.1.b157 Rakefile
msgr-0.15.2.1.b156 Rakefile
msgr-0.15.2.1.b155 Rakefile
msgr-0.15.2.1.b154 Rakefile
msgr-0.15.2.1.b152 Rakefile
msgr-0.15.1.1.b151 Rakefile
msgr-0.15.2 Rakefile
msgr-0.15.1.1.b150 Rakefile
msgr-0.15.1.1.b146 Rakefile
msgr-0.15.1.1.b145 Rakefile
msgr-0.15.1.1.b144 Rakefile
msgr-0.15.1.1.b143 Rakefile
msgr-0.15.1.1.b141 Rakefile
msgr-0.15.0.1.b140 Rakefile
msgr-0.15.1 Rakefile
msgr-0.15.0.1.b139 Rakefile
msgr-0.15.0.1.b136 Rakefile
msgr-0.15.0.1.b135 Rakefile
msgr-0.15.0.1.b134 Rakefile
msgr-0.15.0.1.b131 Rakefile