Sha256: f2df11a71fe42c11fbd8af65bd4c15e4deb010ea86d3f1105ae8833c7092571d

Contents?: true

Size: 1.03 KB

Versions: 30

Compression:

Stored size: 1.03 KB

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="#{ENV['CI'] ? '' : '-w -W2'} -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="#{ENV['CI'] ? '' : '-w -W2'} -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

30 entries across 30 versions & 1 rubygems

Version Path
msgr-0.14.1.1.b112 Rakefile
msgr-0.14.1.1.b111 Rakefile
msgr-0.14.1.1.b110 Rakefile
msgr-0.14.1 Rakefile
msgr-0.14.0 Rakefile
msgr-0.13.0 Rakefile
msgr-0.12.3 Rakefile
msgr-0.12.2 Rakefile
msgr-0.12.1 Rakefile
msgr-0.12.0 Rakefile
msgr-0.11.1 Rakefile
msgr-0.11.0 Rakefile
msgr-0.11.0.rc3 Rakefile
msgr-0.11.0.rc2 Rakefile
msgr-0.11.0.rc1 Rakefile
msgr-0.10.2 Rakefile
msgr-0.10.1 Rakefile
msgr-0.10.0 Rakefile
msgr-0.9.0 Rakefile
msgr-0.8.0 Rakefile