How do I make a custom rake:stats so that I can examine the number of lines of code in a different directory?
For example, I have a app/workers directory for my resque workers, that I would like to profile.
I’m using rspec. I want something along the lines of Rake stats and Cucumber, but I don’t have a /lib/tasks/rspec.rake
Sorry I don’t know how to edit rake stats. But you could try this script in terminal on Mac, for example counting LOC in views directory:
Hope that helps