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
|
task :test do
|
||||||
COOKBOOKS.each do |cookbook|
|
COOKBOOKS.each do |cookbook|
|
||||||
#sh "knife cookbook test #{File.basename(cookbook)}"
|
sh "knife cookbook test '#{File.basename(cookbook)}' -o site-cookbooks"
|
||||||
sh "foodcritic #{cookbook}"
|
sh "foodcritic '#{cookbook}'"
|
||||||
end
|
end
|
||||||
sh "rspec spec"
|
sh "rspec spec"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user