Skip to content

Commit

Permalink
Add RuboCop to Rakefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Jul 14, 2016
1 parent 133fdc8 commit 8871e34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
require "rake/testtask"
require "rubocop/rake_task"

Rake::TestTask.new do |t|
t.pattern = "test/**/*_test.rb"
t.libs << "test"
end

task default: :test
RuboCop::RakeTask.new(:rubocop) do |t|
t.options = ["--force-exclusion"]
end

task default: [:test, :rubocop]

0 comments on commit 8871e34

Please sign in to comment.