1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Make entire Rubocop suite run by default.

This commit is contained in:
William Johnston 2016-03-01 08:39:51 -06:00
parent deb7a87603
commit e419b5d178
2 changed files with 4 additions and 6 deletions

View file

@ -5,7 +5,7 @@ rvm:
- 2.1
- 2.0
- rbx-2
script: bundle exec rake spec lint
script: bundle exec rake spec rubocop
install: bundle install --jobs=1
cache: bundler
branches:

View file

@ -3,12 +3,10 @@ require "cucumber/rake/task"
require "rspec/core/rake_task"
require "rubocop/rake_task"
task :default => [:spec, :lint]
task :default => [:spec, :rubocop]
RSpec::Core::RakeTask.new
Cucumber::Rake::Task.new(:features)
desc "Run RuboCop lint checks"
RuboCop::RakeTask.new(:lint) do |task|
task.options = ["--lint"]
end
desc "Run RuboCop checks"
RuboCop::RakeTask.new