From 91360fbbd6bf6669b27e715081751c3c2af66066 Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Sat, 25 Jul 2015 12:24:48 +0500 Subject: [PATCH] Use RuboCop --- Rakefile | 7 +++++++ lita-tox.gemspec | 1 + 2 files changed, 8 insertions(+) diff --git a/Rakefile b/Rakefile index 2995527..e4e1c91 100644 --- a/Rakefile +++ b/Rakefile @@ -1 +1,8 @@ require "bundler/gem_tasks" + +task default: [:lint] + +task lint: [:rubocop] + +require 'rubocop/rake_task' +RuboCop::RakeTask.new diff --git a/lita-tox.gemspec b/lita-tox.gemspec index 80687d9..84e60bc 100644 --- a/lita-tox.gemspec +++ b/lita-tox.gemspec @@ -21,4 +21,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.10" spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "rubocop", "~> 0.31" end