chef-lctp/Rakefile
2014-01-19 15:34:01 +01:00

10 lines
218 B
Ruby

COOKBOOKS = FileList[File.join("site-cookbooks", "*")]
task :test do
COOKBOOKS.each do |cookbook|
#sh "knife cookbook test #{File.basename(cookbook)}"
sh "foodcritic #{cookbook}"
end
sh "rspec spec"
end