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

Support being passed a path #27

Open
mikepurvis opened this issue May 12, 2014 · 0 comments
Open

Support being passed a path #27

mikepurvis opened this issue May 12, 2014 · 0 comments

Comments

@mikepurvis
Copy link
Member

Right now, the roslint_python and roslint_cpp macros support being passed lists of source files, or nothing, where the "nothing" behaviour is to glob and lint everything in the package. It would be great to be able to specify a path to lint everything below, eg:

roslint_cpp(DIRECTORY include)

Part of this could be supporting an optional corresponding FILES mode, which would be the same as the current behaviour for loose arguments, so the following would be equivalent:

roslint_cpp(FILES src/main.cpp src/foo.cpp)
roslint_cpp(src/main.cpp src/foo.cpp)

In this scenario, the follow calls would also be equivalent:

roslint_cpp(DIRECTORY .)
roslint_cpp()
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

1 participant