Dependency updates and rubocop fixes
This commit is contained in:
12
Rakefile
12
Rakefile
@@ -7,5 +7,15 @@ require 'rubocop/rake_task'
|
||||
task default: [:test]
|
||||
|
||||
RSpec::Core::RakeTask.new(:test)
|
||||
|
||||
RuboCop::RakeTask.new
|
||||
|
||||
task :cc_local do
|
||||
command = 'docker run '
|
||||
command << '--interactive --tty --rm '
|
||||
command << '--env CODECLIMATE_CODE="$PWD" '
|
||||
command << '--volume "$PWD":/code '
|
||||
command << '--volume /var/run/docker.sock:/var/run/docker.sock '
|
||||
command << '--volume /tmp/cc:/tmp/cc '
|
||||
command << 'codeclimate/codeclimate analyze'
|
||||
sh command
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user