Sha256: fc99dbf33f8ddebee5a7415ec30f5d6f86e82ef0664002fdae0b2e3195a5b964

Contents?: true

Size: 555 Bytes

Versions: 8

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[spec:norails spec rubocop]

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
anyway_config-1.2.0 Rakefile
anyway_config-1.1.3 Rakefile
anyway_config-1.1.2 Rakefile
anyway_config-1.1.1 Rakefile
anyway_config-1.1.0 Rakefile
anyway_config-1.0.0 Rakefile
anyway_config-1.0.0.rc1 Rakefile
anyway_config-0.5.1.rc1 Rakefile