rake:test fix syntax check
This commit is contained in:
parent
346dc033ca
commit
f9e4389579
4
Rakefile
4
Rakefile
@ -2,8 +2,8 @@ COOKBOOKS = FileList[File.join("site-cookbooks", "*")]
|
||||
|
||||
task :test do
|
||||
COOKBOOKS.each do |cookbook|
|
||||
#sh "knife cookbook test #{File.basename(cookbook)}"
|
||||
sh "foodcritic #{cookbook}"
|
||||
sh "knife cookbook test '#{File.basename(cookbook)}' -o site-cookbooks"
|
||||
sh "foodcritic '#{cookbook}'"
|
||||
end
|
||||
sh "rspec spec"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user