use rubocop

This commit is contained in:
muratayusuke
2013-06-19 15:01:36 +00:00
committed by thilko
parent 937f1912d7
commit 359147e7e8
3 changed files with 20 additions and 1 deletions

View File

@@ -41,8 +41,16 @@ RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.rcov = true
end
task :rubocop do
system('rubocop')
end
task :default => :spec
task :test do
Rake::Task['spec'].execute
Rake::Task['rubocop'].execute
end
task :default => :test
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|