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:
parent
deb7a87603
commit
e419b5d178
2 changed files with 4 additions and 6 deletions
|
@ -5,7 +5,7 @@ rvm:
|
||||||
- 2.1
|
- 2.1
|
||||||
- 2.0
|
- 2.0
|
||||||
- rbx-2
|
- rbx-2
|
||||||
script: bundle exec rake spec lint
|
script: bundle exec rake spec rubocop
|
||||||
install: bundle install --jobs=1
|
install: bundle install --jobs=1
|
||||||
cache: bundler
|
cache: bundler
|
||||||
branches:
|
branches:
|
||||||
|
|
8
Rakefile
8
Rakefile
|
@ -3,12 +3,10 @@ require "cucumber/rake/task"
|
||||||
require "rspec/core/rake_task"
|
require "rspec/core/rake_task"
|
||||||
require "rubocop/rake_task"
|
require "rubocop/rake_task"
|
||||||
|
|
||||||
task :default => [:spec, :lint]
|
task :default => [:spec, :rubocop]
|
||||||
RSpec::Core::RakeTask.new
|
RSpec::Core::RakeTask.new
|
||||||
|
|
||||||
Cucumber::Rake::Task.new(:features)
|
Cucumber::Rake::Task.new(:features)
|
||||||
|
|
||||||
desc "Run RuboCop lint checks"
|
desc "Run RuboCop checks"
|
||||||
RuboCop::RakeTask.new(:lint) do |task|
|
RuboCop::RakeTask.new
|
||||||
task.options = ["--lint"]
|
|
||||||
end
|
|
||||||
|
|
Loading…
Reference in a new issue