Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

recursively run foodcritic in an entire folder #763

Open
lmzhangucsd opened this issue May 31, 2018 · 3 comments
Open

recursively run foodcritic in an entire folder #763

lmzhangucsd opened this issue May 31, 2018 · 3 comments

Comments

@lmzhangucsd
Copy link

Hi, I want to know how to run foodcritic in an entire folder, currently, my project directory contains multiple layers of sub-directories which contain the .rb files. How do I test them all at the same time

@coderanger
Copy link
Contributor

Foodcritic only understands cookbooks, not unstructured folders of Ruby code. Do you mean you have a folder full of cookbooks or something else?

@lmzhangucsd
Copy link
Author

so I have a root folder which contains many cookbooks, how do I test the entire root folder at once?

@coderanger
Copy link
Contributor

Shouldn't be any need for a recursive anything, just foodcritic * from the cookbooks folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants