Sha256: 29ffdfcdcfa38a194962de94057626efb7864eaa75be5e5ed56f27cb38e82802

Contents?: true

Size: 352 Bytes

Versions: 13

Compression:

Stored size: 352 Bytes

Contents

require 'rspec/core/rake_task'
require 'rubocop/rake_task'

desc "Run spec tests"
RSpec::Core::RakeTask.new(:test) do |t|
  t.rspec_opts = ['--color']
  t.pattern = 'spec/'
end

RuboCop::RakeTask.new do |t|
  t.options = ['--display-cop-names']
end

desc "Run linters"
task :lint => [:rubocop]

desc "Run default tasks"
task :default => [:lint, :test]

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
beaker-answers-1.0.0 Rakefile
beaker-answers-0.29.0 Rakefile
beaker-answers-0.28.0 Rakefile
beaker-answers-0.27.0 Rakefile
beaker-answers-0.26.3 Rakefile
beaker-answers-0.26.2 Rakefile
beaker-answers-0.26.1 Rakefile
beaker-answers-0.26.0 Rakefile
beaker-answers-0.25.0 Rakefile
beaker-answers-0.24.0 Rakefile
beaker-answers-0.23.0 Rakefile
beaker-answers-0.22.0 Rakefile
beaker-answers-0.21.0 Rakefile