Sha256: 4812ca0b946bf1d1d8cc60a378b28cc5841330e029fa9caa17b99d4549d12321

Contents?: true

Size: 1022 Bytes

Versions: 91

Compression:

Stored size: 1022 Bytes

Contents

# frozen_string_literal: true

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: %i[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

91 entries across 91 versions & 1 rubygems

Version Path
msgr-1.2.0 Rakefile
msgr-1.1.0.1.b306 Rakefile
msgr-1.1.0.1.b305 Rakefile
msgr-1.1.0.1.b302 Rakefile
msgr-1.1.0.1.b301 Rakefile
msgr-1.1.0.1.b300 Rakefile
msgr-1.1.0.1.b297 Rakefile
msgr-1.1.0.1.b296 Rakefile
msgr-1.1.0.1.b295 Rakefile
msgr-1.1.0.1.b292 Rakefile
msgr-1.1.0.1.b291 Rakefile
msgr-1.1.0.1.b288 Rakefile
msgr-1.1.0.1.b285 Rakefile
msgr-1.1.0.1.b263 Rakefile
msgr-1.1.0.1.b249 Rakefile
msgr-1.1.0.1.b248 Rakefile
msgr-1.1.0.1.b244 Rakefile
msgr-1.1.0.1.b241 Rakefile
msgr-1.1.0.1.b240 Rakefile
msgr-1.1.0.1.b239 Rakefile