inspec/.delivery/build-cookbook/recipes/lint.rb
Dominik Richter 6703d1834d change delivery lint command to use rake
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-30 12:23:41 +02:00

14 lines
329 B
Ruby

#
# Cookbook Name:: build-cookbook
# Recipe:: lint
#
# Copyright (c) 2015 Chef Software Inc., All Rights Reserved.
# Author:: Dominik Richter
include_recipe 'build-cookbook::prepare'
execute 'rubocop' do
command 'bundle exec rake lint'
cwd node['delivery_builder']['repo']
user node['delivery_builder']['build_user']
end