Sha256: 12692fb6b7fad1320b168682821fa57f3799c154ce73b5f7b47b3acb2505551d

Contents?: true

Size: 555 Bytes

Versions: 7

Compression:

Stored size: 555 Bytes

Contents

# frozen_string_literal: true

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

RuboCop::RakeTask.new

task(:spec).clear
desc "Run specs with Rails app"
RSpec::Core::RakeTask.new("spec") do |task|
  task.exclude_pattern = "spec/**/*_norails.rb"
  task.verbose = false
end

desc "Run acceptance specs without Rails"
RSpec::Core::RakeTask.new("spec:norails") do |task|
  task.pattern = "spec/**/*_norails.rb"
  task.verbose = false
end

desc "Run the all specs and linters"
task default: %w[rubocop spec:norails spec]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
anyway_config-1.4.4 Rakefile
anyway_config-1.4.3 Rakefile
anyway_config-1.4.2 Rakefile
anyway_config-1.4.1 Rakefile
anyway_config-1.4.0 Rakefile
anyway_config-1.3.1 Rakefile
anyway_config-1.3.0 Rakefile