Sha256: 2667a3f6d97b4ad23e1c3297df9149e0528c6a6b4288eef953cb663362c891f6

Contents?: true

Size: 593 Bytes

Versions: 7

Compression:

Stored size: 593 Bytes

Contents

# frozen_string_literal: true
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop/rake_task'
require 'cucumber/rake/task'
require 'reek/rake/task'
require 'rubycritic/rake_task'

Rake::TestTask.new do |task|
  task.libs.push 'lib'
  task.libs.push 'test'
  task.pattern = 'test/**/*_test.rb'
end

Cucumber::Rake::Task.new(:features) do |t|
  t.cucumber_opts = 'features --format progress --color'
end

RuboCop::RakeTask.new

Reek::Rake::Task.new

RubyCritic::RakeTask.new do |task|
  task.paths = FileList['lib/**/*.rb']
end

task default: [:test, :features, :reek, :rubocop]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubycritic-3.2.0 Rakefile
rubycritic-3.1.3 Rakefile
rubycritic-3.1.2 Rakefile
rubycritic-3.1.1 Rakefile
rubycritic-3.1.0 Rakefile
rubycritic-3.0.0 Rakefile
rubycritic-2.9.4 Rakefile