chef-lctp/Rakefile

10 lines
218 B
Ruby
Raw Normal View History

2014-01-19 14:34:01 +00:00
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