Sha256: f23a9bd824586843d9dcc6303492b21646fd1c3b57e642474b544613d20565d4

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

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

RuboCop::RakeTask.new

task default: ['spec:all']

namespace :spec do
  desc 'Run all specs'
  task all: %i[rubocop:auto_correct unit system]

  %w[unit system].each do |type|
    desc "Run #{type} tests"
    RSpec::Core::RakeTask.new(type) do |t|
      t.pattern = "spec/#{type}/**/*_spec.rb"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
httpspell-1.3.0 Rakefile
httpspell-1.2.1 Rakefile
httpspell-1.2.0 Rakefile
httpspell-1.1.0 Rakefile