Skip to content

Commit

Permalink
Add Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Apr 14, 2014
1 parent aa132e2 commit bc713cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ require "bundler/gem_tasks"
Dir[File.expand_path("../tasks/**/*.rake", __FILE__)].each { |task| load task }
require File.expand_path("../lib/rbnacl/rake_tasks", __FILE__)

task :default => :spec
task :default => %w(spec rubocop)
1 change: 1 addition & 0 deletions rbnacl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Gem::Specification.new do |gem|

gem.add_development_dependency "rake"
gem.add_development_dependency "rspec", ">= 2.14"
gem.add_development_dependency "rubocop"

gem.cert_chain = ["bascule.cert"]
end
3 changes: 3 additions & 0 deletions tasks/rubocop.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require 'rubocop/rake_task'

Rubocop::RakeTask.new

0 comments on commit bc713cc

Please sign in to comment.