File: style.rake

package info (click to toggle)
ruby-rouge 4.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,836 kB
  • sloc: ruby: 38,168; sed: 2,071; perl: 152; makefile: 8
file content (7 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
namespace :check do
  desc "Run RuboCop on bin/, lib/ and spec/"
  RuboCop::RakeTask.new(:style) do |task|
    task.patterns = ["bin/**/*", "lib/**/*.rb", "spec/**/*.rb"]
    task.fail_on_error = false
  end
end