mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-30 09:45:46 +00:00
Specify files explicity in rubocop rake task
This commit is contained in:
parent
df63cfe0ce
commit
d51a1db42c
1 changed files with 3 additions and 1 deletions
4
Rakefile
4
Rakefile
|
|
@ -7,6 +7,8 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
|
|||
spec.pattern = FileList['spec/**/*_spec.rb']
|
||||
end
|
||||
|
||||
RuboCop::RakeTask.new(:rubocop)
|
||||
RuboCop::RakeTask.new(:rubocop) do |t|
|
||||
t.patterns = ['lib/**/*.rb', 'spec/**/*.rb', 'Rakefile', 'Gemfile', 'grape_logging.gemspec']
|
||||
end
|
||||
|
||||
task default: %i[spec rubocop]
|
||||
|
|
|
|||
Loading…
Reference in a new issue