catkin_tools: Unable to run roslint on all packages in a workspace?

To use roslint for a pkg foo I used to do:

catkin_make roslint_foo

However, I cannot figure out to get this working in catkin tools. I tried:

catkin build roslint_foo
catkin build --catkin-make-args roslint_foo
catkin build --make-args roslint_foo
catkin build --cmake-args roslint_foo

But none of this works… Doing it the old way works, but I need to clear my ws after that if I want to build using catkin build again. So essentially I recompile my full ws, which takes a lot of time…

So: does catkin tools not yet support roslint? Or am I doing it wrong?

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Comments: 33 (15 by maintainers)

Most upvoted comments

Oh I know what’s happening. You also need --no-deps, otherwise it will run on all the deps of the roslint’ed packages:

catkin build $(catkin list --depends-on roslint -u) --no-deps --catkin-make-args roslint