Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 589 Bytes
# 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: %i[test features reek rubocop]
You can’t perform that action at this time.