Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use lua-releng with find command recursively #13

Closed
xiangnanscu opened this issue Jul 29, 2017 · 2 comments
Closed

can't use lua-releng with find command recursively #13

xiangnanscu opened this issue Jul 29, 2017 · 2 comments

Comments

@xiangnanscu
Copy link

I have a folder named lualib, when cd that folder, I run find . -name '*.lua' | lua-releng -s -e -L, lua-releng won't check files in subfolder such as lualib/db/mysql.lua. I know this because I set some global variables in subfolder on purpose. Am I wrong? Or what's the right way if I want to recursively check all lua files in some folder?

@agentzh
Copy link
Member

agentzh commented Jul 29, 2017

@xiangnanscu Maybe you want to use the -exec option of find instead? lua-releng only supports a single individual file argument or no arguments at all (in which case it searchs lib/).

@xiangnanscu
Copy link
Author

@agentzh thanks, chun ge.

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

No branches or pull requests

2 participants