Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

Commit

Permalink
Restrict RuboCop rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
volmer committed Dec 14, 2014
1 parent 65ce1c8 commit 42f05ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -27,7 +27,9 @@ require 'rspec/core/rake_task'
require 'coveralls/rake/task'
require 'rubocop/rake_task'

RuboCop::RakeTask.new
RuboCop::RakeTask.new(:rubocop) do |task|
task.patterns = ['app/**/*.rb', 'lib/**/*.rb']
end
Coveralls::RakeTask.new
RSpec::Core::RakeTask.new(:spec)
Cucumber::Rake::Task.new do |_|
Expand Down

0 comments on commit 42f05ae

Please sign in to comment.