change delivery lint command to use rake

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-09-30 12:23:41 +02:00
parent a888534c4e
commit 6703d1834d

View file

@ -8,7 +8,7 @@
include_recipe 'build-cookbook::prepare' include_recipe 'build-cookbook::prepare'
execute 'rubocop' do execute 'rubocop' do
command 'bundle exec rubocop -D' command 'bundle exec rake lint'
cwd node['delivery_builder']['repo'] cwd node['delivery_builder']['repo']
user node['delivery_builder']['build_user'] user node['delivery_builder']['build_user']
end end