spelling corrections
This commit is contained in:
parent
3f9f357d30
commit
a4b5588e0f
|
@ -26,13 +26,13 @@ log_file='deprecations.log'
|
||||||
|
|
||||||
for cookbook in `ls -d */`; do
|
for cookbook in `ls -d */`; do
|
||||||
printf "${cookbook}\n=================" | tee -a $log_file
|
printf "${cookbook}\n=================" | tee -a $log_file
|
||||||
chef exec foodcritic -t deprecated ${i} | tee -a $log_file
|
chef exec foodcritic -t deprecated ${cookbook} | tee -a $log_file
|
||||||
printf "\n" | tee -a $log_file
|
printf "\n" | tee -a $log_file
|
||||||
done
|
done
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
This will:
|
This will:
|
||||||
- Itterate over all the directories in the current directory
|
- Iterate over all the directories in the current directory
|
||||||
- Assume they're cookbooks
|
- Assume they're cookbooks
|
||||||
- Execute the `deprecations` Foodcritic tests
|
- Execute the `deprecations` Foodcritic tests
|
||||||
- Print the results to the screen
|
- Print the results to the screen
|
||||||
|
|
Loading…
Reference in New Issue