mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
6703d1834d
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
14 lines
329 B
Ruby
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
|